Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (pkAttacker->IsPC() == true)
- {
- float calcTest = (float)pkVictim->GetPoint(POINT_RESIST_CHARACTER)/100;
- iAtk -= (int)ceil(iAtk * calcTest);
- }
- if (pkAttacker->IsNPC() == true)
- {
- float calcTest = (float)pkVictim->GetPoint(POINT_RESIST_MONSTER)/100;
- iAtk -= (int)ceil(iAtk * calcTest);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement