• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Spell] Spells based on stats

Status
Not open for further replies.
For a stat based spell u need to trigger the damage by yourself.
An instant spell could be done easily , a projectile is more difficult to trigger the damage actually when it hits.

  • Events
    • Unit - a unit starts the effect of an ability
  • Conditions
    • Condition - (ability being cast) equals to 'your spell'
  • Actions
    • Unit - make (triggering unit) damage 'your target' for 3*(INT of(triggering unit)) ...
 
Lender is correct, projectiles are tricky but if you search you can find projectile systems here on the Hive. There are also Damage Detection Systems that can calculate when damage is taken (when a projectile hits) and then change the damage through triggers.
 
You can use your DDS to detect when a projectile hits then calculate the damage with triggers. In the case you mentioned you would want to deal (3 x real(int of caster)) + 250.

To get the int of your caster you will need to use the conversion = integer to real. The rest is done using the arithmetic function.
 
before start setting hero stat chose multiplication option then set one of it to 3 and the other to real(int of caster))

1. () + ()
2. ([]*[]) + ()

3. set values (3 * real(int of caster)) + 250

thats why i hate GUI... clicks and clicks and clicks and ..... never ends:/

imagine if you would have to make a line - point distance calculation like this:D
 
Status
Not open for further replies.
Back
Top