Follow along with the video below to see how to install our site as a web app on your home screen.
Notka: This feature may not be available in some browsers.
Kod:
if getPlayerPremiumDays(cid) > 0 then
setPlayerExtraExpRate(cid, ile razy wi?cej expa maj? dostawa? gracze z pacc)
end
Chyba kolega wyra?nie napisa?,creaturescript to folder w data ;PDo creaturescripts/scripts/login.lua dodajesz linijke przed ostatnim end'em:
int attackerdamage = getInflicatedDamage(attacker);
Player* player = dynamic_cast<Player*>(attacker);
#ifdef YUR_MULTIPLIERS
if (dynamic_cast<Player*>(this))
return gainexperience * g_config.EXP_MUL_PVP;
else
return gainexperience * g_config.EXP_MUL;
#else
return gainexperience;
#endif //YUR_MULTIPLIERS
#ifdef YUR_MULTIPLIERS
if (dynamic_cast<Player*>(this))
return gainexperience * g_config.EXP_MUL_PVP;
else if(player && player->isPremium())
return gainexperience * g_config.EXP_PACC;
else
return gainexperience * g_config.EXP_MUL;
#else
return gainexperience;
#endif //YUR_MULTIPLIERS
EXP_MUL_PVP = getGlobalNumber("expmulpvp",1);
EXP_PACC = getGlobalNumber("exppacc",1);
exp_t EXP_MUL_PVP;
exp_t EXP_PACC;
-- Jaki mnoznik expa dla graczy z PACC?
exppacc = 7