• 🏆 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!

I need a spell! (GUI)

Status
Not open for further replies.
Level 11
Joined
Sep 12, 2008
Messages
657
Ohh.. like this?

  • Damage Attribute
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Chain Lightning (Neutral Hostile)
    • Actions
      • // Setting caster, target as variables, easier to pick them like that.
      • Set Caster = (Triggering unit)
      • Set Target = (Target unit of ability being cast)
      • // making Caster(casting unit), to damage Target(Target of ability) Intelligence of Caster(Casting Unit).
      • Unit - Cause Caster to damage Target, dealing (Real((Intelligence of Caster (Include bonuses)))) damage of attack type Spells and damage type Normal
or i didnt understend you that good..
 
Level 4
Joined
Jun 19, 2010
Messages
113
also
  • Set distance = (Distance between (Position of (Target unit of ability being cast)) and (Position of (Casting unit)))
  • Wait (0.40 + (distance / 4000.00)) seconds
use this to synchronize trigger damage with spell animation (4000 - it's depend on speed of... emmm... forgot the word :D the speed of spell bolt, hope u understand me)
 
Level 4
Joined
Jun 19, 2010
Messages
113
here is it.

hit esc to increase hero int.
spell deal 0 damage by it self + int of hero/2
you can change it to int/3 (to deal 33% of int) and so on
it is not so hard.
 

Attachments

  • Архив WinRAR (4).rar
    16.9 KB · Views: 33
Status
Not open for further replies.
Top