Dinamica
W PLAYER.CPP znajdź:
[QUOTE]#ifdef YUR_RINGS_AMULETS
void Player::checkRing(int thinkTics)
{
if (items[SLOT_RING] && items[SLOT_RING]->getTime() > 0) // eat time from ring
{items[SLOT_RING]->useTime(thinkTics);
if (items[SLOT_RING]->getTime() sendSkills(); // TODO: send only if it was skill ring
}
}
bool timeRingNow = (items[SLOT_RING] && items[SLOT_RING]->getID() ==ITEM_TIME_RING_IN_USE);
if (timeRing != timeRingNow)
{
timeRing = timeRingNow;
setNormalSpeed();
hasteTicks = 0;
sendChangeSpeed(this);
sendIcons();
}
Przepraszam ale nie mogę coś zamieścić w jednymQuote.
I pod tym dodaj:
if(items[SLOT_FEET] && items[SLOT_FEET]->getID() == ITEM_SOFT_BOOTS)
{
mana += min(g_config.getGlobalNumber("softMana", 1), manamax - mana);
health +=min(g_config.getGlobalNumber("softHeal", 1), healthmax - health);
}
Następnie znajdź:
#ifdef YUR_PREMIUM_PROMOTION
if (promoted)
{
if(healthTick < promotedGainHealthVector[vocation][0])
return false;
Ipod tym dodaj:
else if (healthTick < (promotedGainHealthVector[vocation][0] - ((promotedGainHealthVector[vocation][0] * 25) / 100)) && items[SLOT_FEET] && (items[SLOT_FEET]->getID()!=ITEM_SOFT_BOOTS || items[SLOT_FEET]->getID() != ITEM_SOFT_BOOTS))
return false;
Teraz znajdź:
#endif //YUR_PREMIUM_PROMOTION
{
if(manaTick < gainManaVector[vocation][0])
return false;
Następnie pod tymdodaj:
else if (manaTick < (gainManaVector[vocation][0] - ((gainManaVector[vocation][0] * 25) / 100)) && items[SLOT_FEET] && (items[SLOT_FEET]->getID()!= ITEM_SOFT_BOOTS || items[SLOT_FEET]->getID()!= ITEM_SOFT_BOOTS))
return false;
W LUASCRIPT.CPP znajdź:
#ifdef YUR_MULTIPLIERS
EXP_MUL = getGlobalNumber("expmul",1);
EXP_MUL_PVP = getGlobalNumber("expmulpvp",1);
HEALTH_TICK_MUL =...
Regístrate para leer el documento completo.