• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

anoying spell Bug

Status
Not open for further replies.
Level 15
Joined
Jul 9, 2008
Messages
1,552
ok well iv got this spell

the hero channels for 8 seconds then after the 8 second channel there is a implosion that deals damage to units in a AOE of the target point and pulls all the units into the center of the AOE

the spell works fine but the the bug is that if the channeling is cancled(by stun/hero stops and runs or what ever) the spell still goes off

iv tried to fix it my self but it just recks the spell

the spell is GUI MUI - indexing
 

Attachments

  • mage's pack.w3x
    22.5 KB · Views: 104
Level 15
Joined
Jul 9, 2008
Messages
1,552
Create a boolean variable. Set it to true when you start the ability, and false when the ability is interrupted.
Before you start the effect of the spell, check the boolean with a condition.

i tryed this but it seems to work differently iv triggerd it wrong i think

like when the spell goes of the channel time is finished the units dont get pulled for the full 2 seconds
 
Level 15
Joined
Jul 9, 2008
Messages
1,552
so now i no longer need
  • Magic implsion antibug
    • Events
      • Unit - A unit Stops casting an ability
    • Conditions
      • (Ability being cast) Equal to Magic implosion
    • Actions
      • Set MI_on[MI_mui] = False

it still doesent seem to work the units dont get pulled into the center for the 2 seconds
 
Status
Not open for further replies.
Top