mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +01:00
* 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>
12 lines
488 B
Plaintext
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)
|