Open EPuncker opened 3 years ago
I suggest adding an exception to the way these spells are displayed. There are at least 3 ways to solve that:
customCost
boolean flag to display var in spellbooksdisplayCostAs
flag in xml and introducing spell:getCostString()
methodPersonally I would just call costString[spellId] or (x .. " mana")
in spellbook script (solution 2)
theres 2 things left to-do on spellbook:
utevo res para - Summon Creature : var "var" should be displayed instead of mana, if the manacost is 0
if spell.mana == 0 then spell.mana = "var" end
- something like this mbyaleta sio - Invite Guests : - "-" should be displayed instead of mana, if its a house spell
Originally posted by @emil92b in https://github.com/otland/forgottenserver/issues/3649#issuecomment-919587641