mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
Reworks the morph. Makes it a more stealth ambush oriented antag (#15208)
* Reworks the morph * Hunger points. Reproduce. Sprites. Other tweaks * vent open. Convert to spells. Valid checks. Minor tweaks * undo life hack * Icons, Fixes, No more morphed lights * Item eat fix. All eating takes 3 seconds * Add sounds * Fixes and tweaks. Pass airlock ability. Ambush screen alert * Steel review fixes * New dead morph sprite from Pewtershmitz * Pass airlock sprite provided by Pewtershmitz * No barsigns or cryo cells as mimic * Gluttany ruin change * Color fix. No forms fix * fix the stupid icons * Apply suggestions from code review Co-authored-by: dearmochi <shenesis@gmail.com> Co-authored-by: joep van der velden <15887760+farie82@users.noreply.github.com> Co-authored-by: dearmochi <shenesis@gmail.com>
This commit is contained in:
co-authored by
dearmochi
joep van der velden
parent
34b40c7860
commit
c4cda0930f
@@ -225,7 +225,7 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell))
|
||||
charge_counter = charge_max
|
||||
|
||||
/obj/effect/proc_holder/spell/proc/perform(list/targets, recharge = 1, mob/user = usr, make_attack_logs = TRUE) //if recharge is started is important for the trigger spells
|
||||
before_cast(targets)
|
||||
before_cast(targets, user)
|
||||
invocation()
|
||||
if(user && user.ckey && make_attack_logs)
|
||||
add_attack_logs(user, targets, "cast the spell [name]", ATKLOG_ALL)
|
||||
@@ -244,7 +244,7 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell))
|
||||
if(action)
|
||||
action.UpdateButtonIcon()
|
||||
|
||||
/obj/effect/proc_holder/spell/proc/before_cast(list/targets)
|
||||
/obj/effect/proc_holder/spell/proc/before_cast(list/targets, mob/user)
|
||||
if(vampire_ability)
|
||||
if(!before_cast_vampire(targets))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user