• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Spell dmg equal stats?

Status
Not open for further replies.
Level 2
Joined
Sep 14, 2007
Messages
15
Hello

I am trying to do a skill that does dmg equal the casters intelligence.
I have the action in my trigger that causes the caster to do dmg to a creature but i dont know how to set the dmg equal to the catsers intelligence

PLs help me :cry:
 
Level 2
Joined
Sep 14, 2007
Messages
15
other

Yes. my hero delas dmg equal his intelligence but i want that he does his inteligence TWICE but when i make in arithemtics 2 x (real(intelligenceHero))
it delas allways ONE time his int dmg...
 
Level 14
Joined
Nov 18, 2007
Messages
1,084
Do you mean you do it like this?
  • Intelligence 2x
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to YourAbility
    • Actions
      • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 2.00) damage of attack type YourAttackType and damage type YourDamageType
because it should work...
 
Status
Not open for further replies.
Top