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

Attribute based Spells

Status
Not open for further replies.
Level 3
Joined
Jan 3, 2016
Messages
11
I am trying to figure out how to make abilities that has it's damage based on how much of an attribute you have ((Damage=Agility x 1.2) so if the agility is 40 you deal 48 damage) but I can't seem to figure out how it works, I have checked other threads but I can never get a full explanation on things like: How the Variable was made.
Thank you in advance.
 
Level 19
Joined
Jul 2, 2011
Messages
2,162
you would have to use trigs

and adjust the ability level according to the attribute... or if it's only damage you are after simply say

unit does X amount if damage times attribute to attacked unit/target of ability
 
Status
Not open for further replies.
Top