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:
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));
}