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

Hero Damage system

Level 16
Joined
Jan 17, 2006
Messages
366
I thought it would be important for some of the "newer ones" to know how to calculate the damage done by a hero. For a passive aoe-damage on Atacks for example.

First we need the mainattribute (Agility for this tutorial) here i'll call it just MA.
Next we have to look on the Dice-Values in the Object-Editor. Sides per Dice lets call them Frank... just kidding. SD would be easier to understand.
Well Last important value is Number of Dice (ND)
One thing to add. We need a Random number. its the RND() part.
Well in the end all the stupid Talking looks like this: MA+(ND*RND(1 to SD))


For everyone who reads this and think it is some waste of time: "Sorry for wasting your time."
 
Top