Skip to content

Commit

Permalink
Sunset Traveller buff (#1549)
Browse files Browse the repository at this point in the history
* buffs sunset traveller

* Update code/modules/mob/living/simple_animal/abnormality/zayin/sunset_traveller.dm

Co-authored-by: [̸R̵e̵d̴a̴c̶t̸e̸d̴]̵ <[email protected]>

---------

Co-authored-by: [̸R̵e̵d̴a̴c̶t̸e̸d̴]̵ <[email protected]>
  • Loading branch information
Kitsunemitsu and LanceSmites328 authored Oct 18, 2023
1 parent 0598321 commit 89d6ec3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
light_power = 7



/mob/living/simple_animal/hostile/abnormality/sunset_traveller/PostWorkEffect(mob/living/carbon/human/user, work_type, pe, work_time)
if(pe == 0)
return
Expand All @@ -44,9 +43,10 @@
SLEEP_CHECK_DEATH(15)
say("Why don't you stop for a moment and take a breather here?")
while (PlayerCheck(user))
//Heal 5% for every 3 seconds you're here
user.adjustBruteLoss(-(maxHealth*0.05))
user.adjustSanityLoss(-(maxHealth*0.05))
for(var/mob/living/carbon/human/H in view(3, src))
//Heal 5% for every 3 seconds you're here
user.adjustBruteLoss(-(maxHealth*0.05))
user.adjustSanityLoss(-(maxHealth*0.05))
if(prob(5))
say(pick(saylines))
SLEEP_CHECK_DEATH(30)
Expand Down

0 comments on commit 89d6ec3

Please sign in to comment.