Files
Paradise/code/datums/spells/aoe_spell.dm
T
327235f37a move some spell-related code around (#29424)
* move some spell-related code around

* Update code/datums/spells/spell_base.dm

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Signed-off-by: warriorstar-orion <orion@snowfrost.garden>

---------

Signed-off-by: warriorstar-orion <orion@snowfrost.garden>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
2025-05-26 05:19:00 +00:00

12 lines
488 B
Plaintext

/datum/spell/aoe
name = "Spell"
create_attack_logs = FALSE
create_custom_logs = TRUE
/// How far does it effect
var/aoe_range = 7
// Normally, AoE spells will generate an attack log for every turf they loop over, while searching for targets.
// With this override, all /aoe type spells will only generate 1 log, saying that the user has cast the spell.
/datum/spell/aoe/write_custom_logs(list/targets, mob/user)
add_attack_logs(user, null, "Cast the AoE spell [name]", ATKLOG_ALL)