[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