TQ Attacks Calculations (Last Patch)

09/06/2016 03:39 GameHackerPM#1
Hi, i was just trying to re-write the codes for calculations of attacks for all kinds (Melee, Magic, Ranged), but i missed up with some stuff.
For the logic, it should be something like :*
Damage = (*Random between min attack and max attack ) - defence * (Gems effects) - (AzureDamage if exists) + (Breakthrough which gets with random success of rate ( that rate - the rate of anti breakthrough) ) * 2 ( if criticalstrike ( rate - anti criticalstike) )

Something for (Phy-Attack + and - (Tower and fan damages) ) ==> didn't know what should i put for these calulcations.
And the main thing BattlePower ==> What the calculations for it? got no idea about that one!
If i miss something please tell me about it, i'm trying to get it fine so i help people with it too! Anyone that can help,*Hope you guys help me. <3*

Thank you very much!*
09/06/2016 04:30 pro4never#2
You're going to have a hell of a time 'properly' emulating the damage simply because of how battle power factors in (I believe there's been some reverse engineering to get BPDamageFactor calculations but I don't believe they are fully documented/public).

Fan/Tower is 'final' damage. It is not influenced by anything else which is why it was so powerful when it was originally added. It literally made it so if you didn't have a strong fan you would simply lose to someone zapping/scattering.


You're 'essentially' correct but you're missing a lot of steps. I see nothing accounted for things like battle power differences, buffs (if counted seperately from gems), bless percent, tort gems and other such tweaks.
09/06/2016 09:17 GameHackerPM#3
Quote:
Originally Posted by pro4never View Post
You're going to have a hell of a time 'properly' emulating the damage simply because of how battle power factors in (I believe there's been some reverse engineering to get BPDamageFactor calculations but I don't believe they are fully documented/public).

Fan/Tower is 'final' damage. It is not influenced by anything else which is why it was so powerful when it was originally added. It literally made it so if you didn't have a strong fan you would simply lose to someone zapping/scattering.


You're 'essentially' correct but you're missing a lot of steps. I see nothing accounted for things like battle power differences, buffs (if counted seperately from gems), bless percent, tort gems and other such tweaks.
So i got no way to get these BPDamageFactor calculations?! Or even something close.

For the other stuff got them in the list, i didn't mention all what i add to my logic, but thanks for mentioning them for helping me.

I still missing up with Fan/Tower, it's 'final" damages, so how will it be added to the damages anyway? Fan's damage (Damage + Final P-Attack) / Tower's damage (Damage - Final P-Def) ?

Also one thing, what should be before what? I mean getting random between min and max first then - DEF Damage then adding gems stuff or adding fan/tower damages first .... etc?
09/06/2016 13:35 Super Aids#4
Trial and error till you get as close as possible is probably the best bet you got right now.
09/06/2016 14:38 GameHackerPM#5
Quote:
Originally Posted by Super Aids View Post
Trial and error till you get as close as possible is probably the best bet you got right now.
Not official you know :/ but yeah you are right! :(