Hello, i'm trying to create a new bonus skill damage against boss, I wanted to ask if you think this part is correct of if it should be written in a better/other way? thank you
Code
- if (pAttacker)
- if (pAttacker->GetPoint(POINT_SKILL_DAMAGE_BONUS) || pAttacker->GetPoint(POINT_SKILL_DAMAGE_BONUS_2))
- if (IsMonster() && GetMobRank() == MOB_RANK_BOSS)
- dam = dam * (100 + pAttacker->GetPoint(POINT_SKILL_DAMAGE_BONUS) + pAttacker->GetPoint(POINT_SKILL_DAMAGE_BONUS_2)) / 100;
- else
- dam = dam * (100 + pAttacker->GetPoint(POINT_SKILL_DAMAGE_BONUS)) / 100;
- dam = dam * (100 - MIN(99, GetPoint(POINT_SKILL_DEFEND_BONUS))) / 100;
it gives me this warning during compilation and i would like to remove it if possible
Bitte melden Sie sich an, um dieses Bild zu sehen.