• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Math

Status
Not open for further replies.

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
How is calculed the damage of Cluster rockets (missile count and damage amout),The gold of transmute and movement speed of purge?
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Transmute:
  • Gold Received: (Gold Cost Factor)% of the unit's gold cost.
  • Lumber received: (Lumber Cost Factor)% of the unit's lumber cost.
Cluster rockets:
  • Damage dealt: Damage Amount * (Duration - 0.01 / Damage Interval)
Purge:
  • Movement speed is set to 150 at the start of the spell.
  • Movement speed recovers at a rate of ( 100 / Movement Update Frequency )% every ( Duration / Movement Update Frequency ) seconds.
  • I don't actually know when the movement speed starts recovering yet...

Going to look into purge in a bit more detail.
 
Last edited:
Level 28
Joined
Jan 26, 2007
Messages
4,789
Okay, I've got some more info on Purge.

"Movement Update Frequency" (let's call it MUF for short) is supposed to be a number between 1 and 10.
When MUF = 10, then the unit will start regaining his speed after Duration * 0.4 seconds (this is the minimum: any MUF higher than 10 will be Duration * 0.4).
When MUF = 8, then the unit will start regaining his speed after Duration * 0.5 seconds.
When MUF = 3, then the unit will start regaining his speed after Duration * 0.667 seconds.
MUF = 1 is obviously Duration * 1 seconds, so the unit will regain his full movement speed only at the end of the spell.

Now the problem is that I cannot find a good formula here, because some values completely break it (MUF = 4 is sometimes the same as MUF = 8, and MUF = 5 is sometimes less than MUF = 8).

I'm going to guess that is because of the way it adds the movement speed (I told you it increases it in percentages, which is correct, except that it isn't the complete truth, which is slightly more difficult and I'm not always good at explaining things).
 
Status
Not open for further replies.
Top