This commit is contained in:
KorPhaeron
2016-06-09 17:26:45 -05:00
parent 38baee52b5
commit aef1c2d044
4 changed files with 25 additions and 7 deletions
@@ -36,6 +36,12 @@
desc = "You're not quite sure how a signal can be bloody."
invisibility = 100
/mob/living/simple_animal/hostile/megafauna/bubblegum/AttackingTarget()
..()
if(isliving(target))
var/mob/living/L = target
devour(L)
/mob/living/simple_animal/hostile/megafauna/bubblegum/Life()
..()
move_to_delay = Clamp(round((health/maxHealth) * 10), 5, 10)
@@ -35,6 +35,15 @@
var/anger_modifier = 0
var/obj/item/device/gps/internal
/mob/living/simple_animal/hostile/megafauna/colossus/AttackingTarget()
..()
if(isliving(target))
var/mob/living/L = target
if(L.stat == DEAD)
src.visible_message("<span class='danger'>[src] disintegrates [L]!</span>")
L.dust()
/mob/living/simple_animal/hostile/megafauna/colossus/OpenFire()
anger_modifier = Clamp(((maxHealth - health)/50),0,20)
ranged_cooldown = world.time + 120
@@ -84,7 +93,7 @@
icon_state = "at_shield2"
layer = FLY_LAYER
luminosity = 2
duration = 80
duration = 8
var/target
/obj/effect/overlay/temp/at_shield/New()
@@ -55,12 +55,7 @@
..()
if(isliving(target))
var/mob/living/L = target
if(L.stat == DEAD)
src.visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
adjustBruteLoss(-L.maxHealth/2)
L.gib()
devour(L)
/mob/living/simple_animal/hostile/megafauna/dragon/Process_Spacemove(movement_dir = 0)
return 1
@@ -43,3 +43,11 @@
(<A HREF='?_src_=holder;adminplayerobservefollow=\ref[src]'>FLW</A>) \
moved via shuttle from ([oldloc.x],[oldloc.y],[oldloc.z]) to \
([newloc.x],[newloc.y],[newloc.z])")
/mob/living/simple_animal/hostile/megafauna/proc/devour(mob/living/L)
if(L.stat == DEAD)
src.visible_message(
"<span class='danger'>[src] devours [L]!</span>",
"<span class='userdanger'>You feast on [L], restoring your health!</span>")
adjustBruteLoss(-L.maxHealth/2)
L.gib()