• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Spell] triggered damage problem

Status
Not open for further replies.
Level 3
Joined
Jul 26, 2013
Messages
41
  • Dragon Strike damage
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Dragon Strike
    • Actions
      • Unit - Cause Dragon_Strike_Caster to damage Dragon_Strike_Target, dealing (5.00 x (Real((Strength of Dragon_Strike_Caster (Include bonuses))))) damage of attack type Hero and damage type Normal
I've set the variables in another trigger, the problem is that this trigger doesn't do any damage:ogre_rage:
 
Level 3
Joined
Jul 26, 2013
Messages
41
You can see if the trigger runs and the variables are set corrctly.

  • Dragon Strike effect
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Dragon Strike
    • Actions
      • Set Dragon_Strike_Caster = (Triggering unit)
      • Set Dragon_Strike_Target = (Target unit of ability being cast)
      • Special Effect - Create a special effect attached to the weapon of (Triggering unit) using Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
      • Set Dragon_Strike_Effect = (Last created special effect)
      • Wait 0.35 seconds
      • Special Effect - Destroy Dragon_Strike_Effect
      • Wait 0.10 seconds
      • Unit - Order (Triggering unit) to Attack-Move To (Position of (Triggering unit))
      • Game - Display to (All players) the text: (Name of Dragon_Strike_Caster)
      • Wait 2.00 seconds
      • Game - Display to (All players) the text: (Name of Dragon_Strike_Target)
It showed me the names with this trigger, but the trigger in wich it deals 5x STR dmg still doesn't work, and it doesn't show the '"Game - Display..'' with the damage trigger.
 
Level 3
Joined
Jul 26, 2013
Messages
41
You should triggered the finished casting time by spell duration, you used so many waits! Use your stored variable than trigger unit, use event- starts the effect of ability

The problem with that is that I can just press S (Stop) before the spell ends and it won't consume mana or the cooldown, but my trigger will still do the damage part. That means people can abuse that as a free damage spell
 
Status
Not open for further replies.
Top