mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 09:31:13 +00:00
Ports the radiation subsystem and cleans up damage flags. (#15715)
This commit is contained in:
@@ -39,15 +39,15 @@
|
||||
if("feet")
|
||||
zone = pick(BP_L_FOOT, BP_R_FOOT)
|
||||
if(!H.shoes)
|
||||
H.apply_effect(400 / (target.mob_size * (target.mob_size * 0.25)), PAIN)//Halloss instead of instant knockdown
|
||||
H.apply_effect(400 / (target.mob_size * (target.mob_size * 0.25)), DAMAGE_PAIN)//Halloss instead of instant knockdown
|
||||
//Mainly for the benefit of giant monsters like vaurca breeders
|
||||
if(BP_L_HAND, BP_R_HAND)
|
||||
zone = type
|
||||
if(!H.gloves)
|
||||
H.apply_effect(250 / (target.mob_size * (target.mob_size * 0.25)), PAIN)
|
||||
H.apply_effect(250 / (target.mob_size * (target.mob_size * 0.25)), DAMAGE_PAIN)
|
||||
if(!(types & TYPE_SYNTHETIC))
|
||||
target.apply_damage(rand(6 , 14), PAIN, def_zone = zone, used_weapon = src)
|
||||
target.apply_damage(rand(1 , 3), BRUTE, def_zone = zone, used_weapon = src)
|
||||
target.apply_damage(rand(6 , 14), DAMAGE_PAIN, def_zone = zone, used_weapon = src)
|
||||
target.apply_damage(rand(1 , 3), DAMAGE_BRUTE, def_zone = zone, used_weapon = src)
|
||||
|
||||
playsound(target.loc, 'sound/effects/snap.ogg', 50, 1)
|
||||
layer = MOB_LAYER - 0.2
|
||||
|
||||
Reference in New Issue
Block a user