El Man
«لَا إِلَٰهَ إِلَّا ٱللَّٰهُ»
- Joined
- Mar 23, 2013
- Messages
- 161
- Reaction score
- 33
Formula bugs!
when add this damage in wand setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -9000, 0, -11500) and start server for test
wand attack ( 200-900 ) -- dont give the damage i add in weapons
combat.cpp
max = (int32_t)((player->getLevel() * 2 + player->getMagicLevel() * 3) * 1. * mina + minb);
min = (int32_t)((player->getLevel() * 2 + player->getMagicLevel() * 3) * 1. * maxa + maxb);
need help!
when add this damage in wand setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -9000, 0, -11500) and start server for test
wand attack ( 200-900 ) -- dont give the damage i add in weapons
combat.cpp
max = (int32_t)((player->getLevel() * 2 + player->getMagicLevel() * 3) * 1. * mina + minb);
min = (int32_t)((player->getLevel() * 2 + player->getMagicLevel() * 3) * 1. * maxa + maxb);
need help!