At line 180 in the file MageFire_Character.lua this code was added. And our code is identical now as I stole it from him.
},
},
AttackRangedMove = {
SoundLoop = 'Forge/DEMIGODS/Torch_Bearer/snd_dg_torch_idle_fire_lp',
BaseAttackLength = 1.5,
Compositions = {
{
Animation = '/characters/Mage/animations/Mage_AttackFire_anim.gr2',
Loop = false,
EventOnCompletion = true,
Events = {
{ name = 'torch_mode2_attack', time = 0.48, }, #sound
{ name = 'FireAttack', time = 0.5, },
{ name = 'attack_effect_01', time = 0.4, },
{ name = 'attack_effect_02', time = 0.6, },
},
},
},
Transitions = {
ANIM_DONE = { TargetState = 'Idle',},
ANIM_INTERRUPT = { Duration = 0.2, TargetStateStationary = 'Idle', TargetStateMoving = 'Run', },
ANIM_STOP_MOVING = { Duration = 0.2, TargetState = 'AttackRanged', CopyClocks = true, },