Stat Based Spell

Warraven

New Member
Reaction score
1
Hey, I want to make a spell which does x5 the ammount of the casters strength. How can I do this?
Thanks
 

Ashcat

Hellooo
Reaction score
68
Code:
Strength Damage
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Mortal Blow
    Actions
        Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing (Real(((Strength of (Casting unit) (Include bonuses)) x 5))) damage of attack type Hero and damage type Normal

Just for the sake of convinience, but yes read that tutorial :l
 
T

Tubba

Guest
That tutorial isn't very good IMO... For example, the Curse spell doesn't make sense at all "(Attacking unit) equal to Cursed"? Like, what? And besides, it's very non-MUI...
 

Sil3nt

SUP?
Reaction score
134
The question hes asking isnt very detailed, is it a instant cast, aoe, channeling ,other spell?
For MUI then we might need another tutorial, unless he uses timers and custom values (or jass@@)

Also that is only 1 of the many examples that can be used using attributes with spells
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top