mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Fixes Hulk crash bug and typos
This commit is contained in:
@@ -237,7 +237,7 @@ obj/item/weapon/twohanded/
|
||||
/obj/item/weapon/twohanded/dualsaber/wield(mob/living/carbon/M) //Specific wield () hulk checks due to reflect_chance var for balance issues and switches hitsounds.
|
||||
if(istype(M))
|
||||
if(M.dna.check_mutation(HULK))
|
||||
M << "<span class='warning'>You lack the grace to wield this to its full extent.</span>"
|
||||
M << "<span class='warning'>You lack the grace to wield this.</span>"
|
||||
return
|
||||
..()
|
||||
hitsound = 'sound/weapons/blade1.ogg'
|
||||
|
||||
@@ -305,7 +305,7 @@
|
||||
var/mob/living/carbon/M = slipper
|
||||
if (M.m_intent=="walk" && (lube&NO_SLIP_WHEN_WALKING))
|
||||
return 0
|
||||
if(!M.lying) // we slip those who are standing and can fall.
|
||||
if(!M.lying && (M.status_flags & CANWEAKEN)) // we slip those who are standing and can fall.
|
||||
var/olddir = M.dir
|
||||
M.Stun(s_amount)
|
||||
M.Weaken(w_amount)
|
||||
|
||||
Reference in New Issue
Block a user