-
[TFS 1x] IncreaseMagicPercent
Em game.cpp mova isso: // Inc Magic by lursky auto originList = { ORIGIN_RANGED, ORIGIN_MELEE, ORIGIN_CONDITION }; auto it = std::find(originList.begin(), originList.end(), damage.origin); if (attackerPlayer && it == originList.end()) { int32_t magicPercentBonus = 0; for (int32_t slot = CONST_SLOT_FIRST; slot <= CONST_SLOT_LAST; ++slot) { Item* item = attackerPlayer->inventory[slot]; if (item) { const ItemType& iiType = Item::items[item->getID()]; const int32_t& slotPosition = item->getSlotPosition(); if (iiType.increaseMagicPercent && (iiType.slotPosition & slotPosition)) { magicPercentBonus += iiType.increaseMagicPercent; } } } if (magicPercentBonus > 0) { damage.primary.value += damage.primary.value * (magicPercentBonus / 100.0f); } } para depois desse if: if (target->hasCondition(CONDITION_MANASHIELD) && damage.primary.type != COMBAT_UNDEFINEDDAMAGE) { e teste.
- TFS 1.2 [8.0] Downgraded By NINJA
-
Preciso de ajuda
Player.h static uint64_t getExpForLevel(int32_t lv) { lv--; return ((50ULL * lv * lv * lv) - (150ULL * lv * lv) + (400ULL * lv)) / 3ULL; } Apenas mude essa fórmula para a que você quiser recompile e pronto.
-
-
-
-
TFS 1.2 [8.0] Downgraded By NINJA
Você vai precisar atualizar algumas coisas mas pode usar isso(o distro e a pasta data estão desatualizados então você vai precisar modificar algumas coisas, alem de ter um problema com os npcs que causam um crash no servidor quando usado no windows 64x , a solução atual é usar a versão 32x ou em linux já que ninguém identificou o real problema até hoje) https://otland.net/threads/8-0-tfs-1-2.263797/page-4#post-2583168
-
- TFS 1.2 [8.0] Downgraded By NINJA
-
- TFS 1.2 [8.0] Downgraded By NINJA
-
-
- TFS 1.2 [8.0] Downgraded By NINJA
- TFS 1.2 [8.0] Downgraded By NINJA
- TFS 1.2 [8.0] Downgraded By NINJA
- TFS 1.2 [8.0] Downgraded By NINJA
- TFS 1.2 [8.0] Downgraded By NINJA
-
- TFS 1.2 [8.0] Downgraded By NINJA
-
-
-
[8.10] OTX 2.9
Parabéns mano, ótimo trabalho ?
-
- TFS 1.2 [8.0] Downgraded By NINJA
-
- TFS 1.2 [8.0] Downgraded By NINJA