Hindori
New Member
- Joined
- Jan 24, 2009
- Messages
- 157
- Reaction score
- 2
I need a code which change my regeneration like this
Ps: I'm using tfs 0.3.4pl2(tibia 8.42)
I know is this function:managain= managain from vocations + mlvl * 5
But when I edit it like this:condition->setParam(CONDITIONPARAM_MANAGAIN, vocation->getManaGainAmount());
I have a error:condition->setParam(CONDITIONPARAM_MANAGAIN, vocation->getManaGainAmount() + player->getMagicLevel() * 4);
player.cpp `player' was not declared in this scope
Ps: I'm using tfs 0.3.4pl2(tibia 8.42)