GhostWD
I'm in love with the var_dump()
- Joined
- Jan 25, 2009
- Messages
- 185
- Solutions
- 6
- Reaction score
- 29
Hello guys i've got problem i dont get it how to calculate this formula
what to put instead of minl, minm etc... when i use only something like that
could someone help me with that? because my calculations arent even compared to what dmg i give to monsters
i will appreciate all help attempts
With Regards Ghost![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Code:
case FORMULA_LEVELMAGIC:
{
min = (int32_t)((player->getLevel() / minl + player->getMagicLevel() * minm) * 1. * mina + minb);
max = (int32_t)((player->getLevel() / maxl + player->getMagicLevel() * maxm) * 1. * maxa + maxb);
if(minc && std::abs(min) < std::abs(minc))
min = minc;
if(maxc && std::abs(max) < std::abs(maxc))
max = maxc;
player->increaseCombatValues(min, max, params.useCharges, true);
return true;
what to put instead of minl, minm etc... when i use only something like that
Code:
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 1, 2, 3, 4)
could someone help me with that? because my calculations arent even compared to what dmg i give to monsters
i will appreciate all help attempts
With Regards Ghost