orts / server

A real map datapack based on TFS 1.2 engine
98 stars 62 forks source link

[ENCHANTING] - Gives to much mlvl. #255

Closed MVJohnsen closed 9 years ago

MVJohnsen commented 9 years ago

By enchanting rubies etc, you can get magic level 180 in a day on this server. Does anyone know where to fix this?

dbjorkholm commented 9 years ago

Simply remove the magic skill multiplier from enchanting.lua.

MVJohnsen commented 9 years ago

Could you please give me an example? I cant seem to find a multiplier in the lua.

Are you talking about this one?

player:addMana(-mana) player:addSoul(-soul) item:transform(enchantedGems[targetId]) player:addManaSpent(mana * configManager.getNumber(configKeys.RATE_MAGIC)) player:getPosition():sendMagicEffect(CONST_ME_HOLYDAMAGE) return true end

joseluis2g commented 9 years ago
player:addManaSpent(mana * configManager.getNumber(configKeys.RATE_MAGIC))

to

player:addManaSpent(mana)
MVJohnsen commented 9 years ago

Thank you :)