Skip to content

Commit

Permalink
[effect]apply_to=new_animation does not support name
Browse files Browse the repository at this point in the history
It does support id though, which is used as a sort of caching mechanism
in case the same effect is applied many times, so use that instead of name.
For good measure, also use an id on the sceptre of fire animation
  • Loading branch information
CelticMinstrel committed Oct 24, 2018
1 parent 2232e49 commit ea9d483
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/core/macros/items.cfg
Expand Up @@ -490,7 +490,7 @@
#"Effect generating a new animation that throws lightning in a specified direction."
[effect]
apply_to=new_animation
name={NAME_STRING}
id={NAME_STRING}_{DIRECTION_NUMBER}
[attack_anim]
[filter_attack]
name={NAME_STRING}
Expand Down Expand Up @@ -558,6 +558,7 @@

[effect]
apply_to=new_animation
id="sceptre of fire"

[attack_anim]
[filter_attack]
Expand Down

0 comments on commit ea9d483

Please sign in to comment.