This is a simple damage calculator :
Hit = ( Attack Value - Enemy Defence ) * [ 1 - (resistance + shield resistance)/100] * [ 1 + (Half Human + Strong Against)/100]
Example: Let's say I hold a sword with 1.000 Attack value and I hit a warrior who has 500 Defence, 30% Sword defence, he wears a Falcon Shield(20% warrior resistance), my Half Human is 100 and I have 50% Strong against Warrior, then my hit will deal:
Hit = (1000-500)*[1-(30+20)/100]*[1+(100+50)/100] <=> Hit = 500*[1-(50/100)]*[1+(100+50)/100] <=> Hit = 500*0,5*2,5
<=> Hit = 625
~~
Critical Hit = 2* Hit
~~
Pierce Hit = ( Attack Value + Enemy Defence)*[1-(resistance + shield resistance)]*[ 1 + (Half Human + Strong Against)]
*Note: On the Piercing hit, enemy defence is added to the sum (+), which means that it increases the damage.
Enjoy! Best Regards, Factory Team