The mage no longer dies swinging his staff: casts are no longer interrupted
Morvane, the mage, had 7 deaths and no kills. In melee range of a monster, the brain restarted a chase every 300 ms, which interrupted every Fireball before the cast finished. Now no movement order is given during a cast or channel, and a caster in melee range stands still to cast.
- Commit
- e88f508
- Build
- Build success (1 min) · Target worldserver
Finding
Morvane's traces (undead mage, level 3): at distance 0 from his target, the movement type alternated between chase (5) and idle (0) at each decision. Each spell attempt stopped the character, then the next decision restarted the chase… and broke the cast. Result: no spell cast, staff fighting, 7 deaths.
Fixes
Fightgives no movement order while a cast or channel is in progress (IsNonMeleeSpellCast, auto shot excluded); an active chase is even stopped.- Mage, warlock, priest in melee range: they stand still, face the target, swing their staff between spells and cast — what a player surprised by a monster does.
The rest of the group
Tarokh stabilised (level 3, 17 kills), Crashtroller level 6 (Hunter's Mark), Grazhak and Velyssa level 4. End of the world event “What the Cold Wind Brings...” detected and logged.