Spell damage depends on your Stats..

Status
Not open for further replies.
Im making a spell that it's damage depends on your Str or AGi or Int..

You have to do this trigger:

  • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing (Real((Intelligence of (Casting unit) (Include bonuses)))) damage of attack type Chaos and damage type Normal
An example is this.
But still trigger has some faults that even dealing intelligence based damage it still doesnt deal the full intelligence, I think you must change the attack type and damage type to make it deal the full damage.
 
instead of casting unit use triggering unit. and do what masterTrainer suggested it makes it a lot easier. if u need to learn how to index u can check out my tutorial. it has a chapter in there to help u learn to index. https://www.hiveworkshop.com/forums/tutorial-submission-283/things-gui-user-should-know-233242/

I REALLY recommend you to learn, read, and finish the stated tutorial. It will teach and help you a lot. I have been coding GUI for a year now and there are stuff in that tutorial that I haven't even known yet. It's long but educational =D
 
Status
Not open for further replies.
Back
Top