mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Xeno nerf
This commit is contained in:
@@ -127,7 +127,7 @@
|
||||
NT.xo = U.x - T.x
|
||||
spawn( 1)
|
||||
NT.process()
|
||||
next_attack = world.time + 50
|
||||
next_attack = world.time + 100
|
||||
|
||||
/mob/living/carbon/alien/humanoid/proc/NeuroAOE(atom/A)
|
||||
if(world.time < next_attack)
|
||||
@@ -146,7 +146,7 @@
|
||||
D.color = "#00FF21"
|
||||
var/turf/my_target = pick(the_targets)
|
||||
for(var/b=0, b<5, b++)
|
||||
step_towards(D,my_target)
|
||||
if(!step_towards(D,my_target)) return
|
||||
if(!D) return
|
||||
// D.reagents.reaction(get_turf(D))
|
||||
for(var/atom/atm in get_turf(D))
|
||||
@@ -155,13 +155,18 @@
|
||||
return
|
||||
if(istype(atm, /mob/living/carbon))
|
||||
var/mob/living/carbon/C = atm
|
||||
C.Weaken(5)
|
||||
C.take_overall_damage(20)
|
||||
C << "You were drenched with neurotoxin!"
|
||||
if(ishuman(C))
|
||||
var/mob/living/carbon/human/H = C
|
||||
if(istype(H.wear_suit, /obj/item/clothing/suit/space) && istype(H.head, /obj/item/clothing/head/helmet/space))
|
||||
return
|
||||
else
|
||||
C.Weaken(5)
|
||||
C.adjustToxLoss(20)
|
||||
C << "You were drenched with neurotoxin!"
|
||||
// D.reagents.reaction(atm, TOUCH) // Touch, since we sprayed it.
|
||||
if(D.loc == my_target) break
|
||||
sleep(2)
|
||||
next_attack = world.time + 50
|
||||
next_attack = world.time + 100
|
||||
|
||||
|
||||
// Babby aliens
|
||||
|
||||
@@ -174,4 +174,9 @@
|
||||
/obj/item/projectile/bullet/neurotoxin/on_hit(var/atom/target, var/blocked = 0)
|
||||
if(isalien(target))
|
||||
return 0
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
if(prob(H.getarmor(def_zone, "melee")))
|
||||
H.visible_message("\red The [src.name] splatters uselessly on the armor!")
|
||||
return 0
|
||||
..() // Execute the rest of the code.
|
||||
|
||||
Reference in New Issue
Block a user