Elgenady
Veteran OT User
- Joined
- Aug 5, 2011
- Messages
- 1,637
- Solutions
- 35
- Reaction score
- 351
how i can check player magic level in source
i did change in wand weapons its will be like melee weapon.
18:02 You see a wand of voodoo (Atk:65 +3).
and i changed minValue and maxValue in weapon.cpp to be like this
and i set in player.cpp in getweaponskill
now the problem is when attack with wand take training monk one hit 99999999
but when remove attackSkill from min and max value its work good
how i can reduction the damge with attackSkill
0.4
i did change in wand weapons its will be like melee weapon.
18:02 You see a wand of voodoo (Atk:65 +3).
and i changed minValue and maxValue in weapon.cpp to be like this
Code:
int32_t attackSkill = player->getWeaponSkill(item);
Code:
int32_t maxValue = (int32_t)(maxChange + attackValue + attackSkill);
Code:
case WEAPON_WAND:
return getSkill(SKILL__MAGLEVEL, SKILL_LEVEL);
but when remove attackSkill from min and max value its work good
how i can reduction the damge with attackSkill
0.4