• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

help c++ code :S

vyctor17

Member
Joined
Oct 17, 2010
Messages
79
Reaction score
13
hi I'm with a heating function c + + it works almost perfectly so that when a monster summons another monster she toppled the server

this and the function:

if(!isSummon())
{
minCombatValue = (int32_t)(it->minCombatValue * multiplier);
maxCombatValue = (int32_t)(it->maxCombatValue * multiplier);
}
else
{
Creature* creature = getMonster();;
Player* player = creature->getPlayerMaster();


minCombatValue = (int32_t)(it->minCombatValue * multiplier);
maxCombatValue = (int32_t)(it->maxCombatValue * multiplier * ((player->getLevel() * g_config.getNumber(ConfigManager::SUMMON_LEVEL_PERCENT))/100));
}
 
Back
Top