PvP Damage Calculator for PW

06/19/2013 00:15 Smurfin#1
PvP Damage Calculator for Perfect World Online

I made this tool for calculating how much damage a character will give or take, given their character informations such as base atk, weapon atk, atk rank, def rank, physical/magical armor defense, physical/magical damage reduction stat on armors, etc etc.

Equations are based on PWI's PWpedia Damage section and from PWI forums, it still can't give an exact damage output match as in the game, but it's somewhat close can give an exact damage output match as in the game if using correct equations/values , only differs by one or two points sometimes, probably because decimals are rounded or maybe other things.

note : class names are using PW Indo naming, but it isn't hard to find out which one is which.

May 19, 2016 Reuploaded, still v0.6 :
- added 3-in-1 button for Applying buff debuff, penetration, and get percentage in 1 button. Also made Previous Last Result info longer so it won't be cut to new line and unreadable if the numbers are long.

May 18, 2016 Updated to v0.6 :
- Added Penetration
- PvE Damage Calc (put the word "mon" without quotes into Spirit InputBox for PvE and use PvE button after everything is set)
- Some minor changes


October 16, 2014 Updated to v0.5
Added :
- Spirit
- Passive Damage Buff
- Buff and Debuff
and some minor changes.

October 21, 2013 Updated to v0.4
- added Physical Defense and Magical Defense calculator
Gear Defense is Raw Defense Value that comes from adding all defense values in equipped gears, while the values in char info we see ingame already boosted by char build (str/int/vit or con) and buffs. There might be one point difference or more sometimes because of rounded decimals somewhere in the equations.
- added Last Result to DmgCalc for comparing with previous results
- enlarged combobox for longer skill names / profile names
- added history.txt in released rar file

August 20, 2013, Updated to v0.3
same as v0.2, only a fix on typo for a psychic class which I wrote as 'physic' or something in the compiled script that makes the [use skill damage equation from presets] button still write the multiplier as variable and shown as $elementalMasteryMultiplier and not a number.

June 27, 2013, Updated to v0.2
added Skill Presets as of v0.2, most of the skills in PW use base damage , weapon damage & constant skill damage , also soulforce for some, like Cleric's Mark of Weakness (even though this skill is metal element, it isn't affected by metal mastery :( ), and elemental mastery for magic classes to add more dmg.

Only these variables can be used for adding equation to skill list in presets :
$basedmg , $weapondmg , $skilldmg , $soulforce , and $ElementalMasteryMultiplier (not case sensitive)

to add more skills, open <program directory>\skills\priestskills.ini for example, for cleric. Skill names here can use your local pw naming and written as ini file's sections using [ ] mark (check codes below for example). I don't have the time to write all skills equations so add whatever skills you want to experiment with.

Code:
[Feather Arrow]
Type=physical
skilldmg10=1379.6
skilldmgsage=3390+800
skilldmgdemon=3390
equation=($basedmg+$weapondmg+$skilldmg)

[Tornado]
Type=magic
skilldmg10=1372.6
skilldmgsage=3380
skilldmgdemon=3380+600
equation=($basedmg+$weapondmg+$skilldmg)*$ElementalMasteryMultiplier

[Sylph]
Type=magic
skilldmg10=3380
skilldmgsage=3380
skilldmgdemon=3380
equation=($basedmg+$weapondmg+$skilldmg)*$ElementalMasteryMultiplier

[Lightning Rite]
Type=magic
skilldmg10=4583.3
skilldmgsage=6365
skilldmgdemon=6365
equation=($basedmg+(2*$weapondmg)+$skilldmg)*$ElementalMasteryMultiplier

[Mark of Weakness]
Type=magic
skilldmg10=0
skilldmgsage=0
skilldmgdemon=0
equation=($basedmg+(0.3*$soulforce))
Screenshots v0.6

Screenshots v0.5

Screenshots v0.4 (Def Mdef Calc)
Screenshots v0.2:

Screenshots v0.1:

Some classes like Archer, Barb, Assassin can use elemental buff, so be sure to put the damage equations into the correct inputboxes.

Tips :
================================================== =======
Always download the latest !
06/19/2013 00:17 Smurfin#2
===========
Skill Equations
===========


Skill equations posted here are using pw indo naming, check ecatomb.net/other sites or check ingame description if you want to find out which one is which. There are some skills that cannot be put there yet like skills with DoT or other skills using other variables such as hp and or mp like Bestial skill Armageddon, it's still doable by entering the needed values manually though.

These are the only skills I've made and put into list, if you need other skills, add them manually, it's not that hard to add once you get the hang of it.

priestskills.ini

mageskills.ini

archerskills.ini

psychicskills.ini

assassinskills.ini


skills.ini
06/19/2013 01:40 Sᴡoosh#3
Holy shit, smurfin is back!

Nice work there dude.
06/19/2013 02:30 Smurfin#4
lol, was just visiting and checking the forum hoping someone discovered new hacks :D
06/22/2013 15:44 gintarasltu#5
is it safe? free?
06/26/2013 21:02 Smurfin#6
^
yes, and yes.

updated to v0.2 , added skill presets for less typing equations manually everytime.
09/23/2013 20:30 kort85#7
Wow, this is interesting, thank you very much ;)
10/12/2013 05:45 Smurfin#8
Just did more test today, and the results were the same as shown in the game, using 2 decimals after comma, rounded down, for def% / mdef%. Found it a few weeks ago, and put it here today with screenshots.

Archer 105 as Attacker, Cleric 104 as Defender

-bare-handed, normal damage = 48 , critical damage = 95

- with bow, numbers in damage log in the game were between the results shown in this app, I stopped once it reached 4k (after firing a lot of arrows)

I also tried my cleric using bare-handed as attacker and testing with 2 other players and a few skills yesterday, the results were good, only occured once where the result was amiss by 1 point, must be because of rounded decimals somewhere since there are many equations used and a few rounded decimals in them.
10/12/2013 10:41 Sᴡoosh#9
Wow, West ADC seems so empty on your server Smurfin - is it true or just an illusion?
10/12/2013 14:35 Smurfin#10
Yea it's quite empty sometimes, the publisher here has just opened a new server last month, some of the players here could probably be playing there ocassionally because on some other days it can get crowded too.
10/25/2013 00:07 Smurfin#11
Updated to v0.4 by adding Def & Mdef Calculator.
Gear Defense in this calc is Raw Defense Value that comes from adding all defense values in equipped gears, while the values in char info we see ingame already boosted by char build (str/int/vit or con) and buffs. There is still one point difference or more because of rounded decimals somewhere in the equations.

[Only registered and activated users can see links. Click Here To Register...]
10/16/2014 15:27 Smurfin#12
October 16, 2014 Updated to v0.5
Added :
- Spirit
- Passive Damage Buff
- Buff and Debuff
and some minor changes.

[Only registered and activated users can see links. Click Here To Register...]
09/19/2015 10:19 Smurfin#13
Here is a Survival Index Calculator I usually use for comparing builds, I've been meaning to add this to the Damage Calc but haven't got the time/just lazy.

Effective Health / Survival Index : The amount of damage you must deliver to kill something or that something needs to kill you. It's basically just converting your pdef/mdef and defense level into a huge chunk of HP, with zero defense. It's only useful for comparing character builds on paper though, in real battlefield, it all depends on the situation, class skillset and the skill of the man behind the character. Spirit isn't put into the equation because it's supposed to nullify each other and how it's calculated hasn't been documented on PWPEDIA's damage section, but I'd guesstimate we just multiply the Effective HP with the multiplier we get from calculating both the attacker/defender's spirits.
05/18/2016 07:47 Smurfin#14
May 18, 2016 Updated to v0.6 :
- Added Penetration
- PvE Damage Calc (put the word "mon" without quotes into Spirit InputBox for PvE and use PvE button after everything is set)
- Some minor changes

[Only registered and activated users can see links. Click Here To Register...]

-edit-
Reuploaded, added 3-in-1 button for Applying buff debuff, penetration, and get percentage in 1 button. Also made Previous Last Result info longer so it won't be cut to new line and unreadable if the numbers are long.
05/18/2016 16:49 DurianMontong#15
wah keren , om smurf , smurfIT nya di update dong dah 2016 nih hehehe