• 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!

Custom Vocation 1 additional summon

fredde3436

Member
Joined
Jul 6, 2009
Messages
226
Reaction score
7
Can you make so a custom vocation can summon 3 summons instead of 2?
(the other vocs (sorcerer,druid) cannot be affected)
 
You would have to edit spells.cpp
Code:
[B]		if([COLOR="red"](int32_t)player->getSummonCount() >= g_config.getNumber(ConfigManager::MAX_PLAYER_SUMMONS)[/COLOR])[/B]
		{
			player->sendCancel("You cannot summon more creatures.");
			g_game.addMagicEffect(player->getPosition(), MAGIC_EFFECT_POFF);
			return false;
		}
 
Back
Top