Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Studying mob damage Post-BB
#3
Fiel Wrote:Here's what I've come up with so far:

This is what happens if a mob damages you

ORDER OF EVENTS:
  • Check if the mob missed the attack. If so, return 0 damage.
  • The mob's attack is fetched
  • If the mob is affected by Threaten, reduce it's WATK value by the percentage given in the skill OR if a mob is influenced by a damage increasing skill, increase the WATK. Precedence is on Threaten.
  • Bounds checking - If WATK is less than 0, WATK = 0. If WATK is greater than 30000, WATK = 30000
  • Calculate mob base damage
    • MobMin = mobAttack * 0.85
    • MobMax = mobAttack
    • return (MobMin - MobMax) * MobMin * 0.000000100000010000001 + MobMax;
  • Calculate Player BasePDD (see spoiler #1)

The above bolded is dangerously close to being 1/9,999,999

This is about as far as I've gotten in about 1 hour. X_X

 #1 - Calc_Base_PDD
Reply


Messages In This Thread
Studying mob damage Post-BB - by Fiel - 2010-07-29, 08:34 PM
Studying mob damage Post-BB - by Five Second Pose - 2010-07-29, 09:22 PM
Studying mob damage Post-BB - by shouri - 2010-07-29, 10:39 PM
Studying mob damage Post-BB - by Nikkey - 2010-07-30, 12:23 AM
Studying mob damage Post-BB - by shouri - 2010-07-30, 12:59 AM
Studying mob damage Post-BB - by Kabanaw - 2010-07-30, 01:59 AM
Studying mob damage Post-BB - by Stereo - 2010-07-30, 03:06 AM
Studying mob damage Post-BB - by kruimel0 - 2010-07-30, 12:05 PM
Studying mob damage Post-BB - by 50504724 - 2010-07-30, 03:13 PM
Studying mob damage Post-BB - by Stereo - 2010-07-30, 03:37 PM
Studying mob damage Post-BB - by Fiel - 2010-07-30, 04:40 PM
Studying mob damage Post-BB - by Fiel - 2010-07-31, 05:10 PM
Studying mob damage Post-BB - by 2147483647 - 2010-07-31, 10:03 PM
Studying mob damage Post-BB - by Fiel - 2010-07-31, 11:07 PM
Studying mob damage Post-BB - by MysticHLE - 2010-08-04, 01:16 PM
Studying mob damage Post-BB - by Fiel - 2010-08-04, 02:29 PM
Studying mob damage Post-BB - by Fiel - 2010-08-04, 08:36 PM
Studying mob damage Post-BB - by IllegallySane - 2010-08-04, 11:07 PM
Studying mob damage Post-BB - by ghostofhalo - 2010-08-05, 03:58 PM
Studying mob damage Post-BB - by Fiel - 2010-08-05, 04:23 PM
Studying mob damage Post-BB - by ghostofhalo - 2010-08-05, 04:40 PM
Studying mob damage Post-BB - by Kabanaw - 2010-08-05, 04:59 PM
Studying mob damage Post-BB - by Bountyan - 2010-08-06, 09:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)