|
42 | 42 | var/slam_staminadamage = A.get_punchdamagehigh() * 1.5 + 10 //25 damage |
43 | 43 | A.do_attack_animation(D, ATTACK_EFFECT_DISARM) |
44 | 44 | playsound(D, 'sound/weapons/thudswoosh.ogg', 50, TRUE, -1) |
45 | | - D.apply_damage(slam_staminadamage, STAMINA, selected_zone, armor_block) |
| 45 | + D.apply_damage(slam_staminadamage, STAMINA, selected_zone, armor_block) |
46 | 46 | D.apply_damage(A.get_punchdamagehigh() + 5, A.dna.species.attack_type, selected_zone, armor_block) //15 damage |
47 | 47 | D.visible_message(span_danger("[A] slams into [D], knocking them off balance!"), \ |
48 | | - span_userdanger("[A] slams into you, knocking you off balance!")) |
| 48 | + span_userdanger("[A] slams into you, knocking you off balance!")) |
49 | 49 | D.add_movespeed_modifier("tail slap", update=TRUE, priority=101, multiplicative_slowdown=0.9) |
50 | 50 | addtimer(CALLBACK(D, TYPE_PROC_REF(/mob, remove_movespeed_modifier), "tail slap"), 5 SECONDS, TIMER_UNIQUE|TIMER_OVERRIDE) |
51 | 51 | log_combat(A, D, "slammed (Flying Fang)") |
|
172 | 172 | var/list/modifiers = params2list(params) |
173 | 173 | if(modifiers[SHIFT_CLICK] || modifiers[CTRL_CLICK] || modifiers[ALT_CLICK]) |
174 | 174 | return NONE |
175 | | - |
| 175 | + |
176 | 176 | if(!modifiers[RIGHT_CLICK] || get_dist(lizard, target) <= 1) |
177 | 177 | return NONE |
178 | 178 |
|
179 | 179 | if(lizard.wear_suit?.clothing_flags & THICKMATERIAL) |
180 | 180 | to_chat(lizard, span_warning("Your [lizard.wear_suit] is too bulky to pounce with!")) |
181 | 181 | return NONE |
182 | | - |
| 182 | + |
183 | 183 | if(!COOLDOWN_FINISHED(src, next_leap)) |
184 | 184 | return NONE |
185 | | - |
| 185 | + |
186 | 186 | if(lizard.buckled) |
187 | 187 | lizard.buckled.unbuckle_mob(lizard, force = TRUE) |
188 | | - |
| 188 | + |
189 | 189 | leaping = TRUE |
190 | 190 | lizard.Knockdown(5 SECONDS) |
191 | 191 | lizard.Immobilize(3 SECONDS, TRUE, TRUE) //prevents you from breaking out of your pounce |
|
216 | 216 | //Blocking knocks the lizard down too |
217 | 217 | if(blocked) |
218 | 218 | lizard.SetKnockdown(10 SECONDS) |
219 | | - |
| 219 | + |
220 | 220 | //Otherwise the not-blocker gets stunned and the lizard is okay |
221 | 221 | else |
222 | 222 | victim.Paralyze(6 SECONDS) |
|
243 | 243 | to_chat(usr, span_notice("Your training has rendered you more resistant to pain, allowing you to keep fighting effectively for longer and reducing the effectiveness of stun and stamina weapons by about a third.")) |
244 | 244 | to_chat(usr, span_warning("However, the primitive instincts gained through this training prevent you from using guns or stun weapons.")) |
245 | 245 | to_chat(usr, span_notice("<b>All of your unarmed attacks deal increased brute damage with a small amount of armor piercing</b>")) |
246 | | - |
| 246 | + |
247 | 247 | to_chat(usr, "[span_notice("Disarm")]: Headbutt your enemy, Deals minor stamina and brute damage, as well as causing eye blurriness. Prevents the target from using ranged weapons effectively for a few seconds if they are not wearing a helmet.") |
248 | 248 |
|
249 | 249 | to_chat(usr, "[span_notice("Tail Slap")]: Shove three times. High armor piercing attack that causes a short slow followed by a knockdown. Deals heavy stamina damage. Requires you to have a tail, which must be exposed") |
|
0 commit comments