Damage Based on Skill Level

RoarMan

Member
Reaction score
12
So I need to make a skill do damage based on the current skills level. Example,
Stormbolt deals 40 dmg per level, so a level 4 stormbolt deals 160 damage. If someone could post a sample code, that'd be great help :D
 

Draphoelix

It's not the wintercold that's killing me
Reaction score
132
You mean in trigger?

If Level of Spell X equals to level 1
Then
Damage 100
Else
Bla bla

or a formula

Damage unit by 40+((Level of Spell X) x 40)
 

RoarMan

Member
Reaction score
12
Sorry if my question was confusing, but yes I was looking for the formula to be done through triggers. The problem I was having was trying to look for the formula in GUI (looks like it's time to learn Jass.) although I did find it in Real conversion. Thanks for your help.
 

BarzahdX

Active Member
Reaction score
18
A simple formula of 40 each level is cake.

Deal (40xlevel of casted ability) damage.. Enjoy!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top