- Apr 5, 2021
- Reaction score
Im working on this engine, fix things, add new system eg. cast etc.
i dont get it...By edit, I mean adding an elf outfit, for example. If the source needs to be edited, which file should I look for?
hey bro you found how to make it work for all except the bank?Exactly, but I still haven't found a way to do that.
All of the bank code is on a single file: gen-bank.ndb
this one i meantThe problem itself it's the dialog, you can't check for currency when you talk to npc like that:
The only workaround I can imagine is to use something different on bank npc than %1:
But I'm stucked now.Code:
Topic=91,%1,0<%1 -> Amount=%1*100, Price=%1, "So I should change %A of your gold coins to %P platinum coins for you?", Topic=96
FullDigit,%1,0<%1,Topic=205 -> Amount=%1, "So you would like to transfer %A gold coins to whom?", Topic=206 FullDigit,"transfer",%1,0<%1 -> * GetString,Topic=206,Guid=PlayerExists -> "You cannot transfer gold to yourself." GetString,Topic=206,PlayerExists=0 -> "A player with this name does not exist." GetString,Topic=206,PlayerExists>=1 -> "So you would like me to transfer %A gold coins to %S, is this correct?", Topic=207 Topic=207 -> "Maybe some other time." "yes",Topic=207,Balance>=Amount -> "You have transferred %A gold coins to %S.", Transfer(Amount)
Outfit color elf is id 144 and dwarf is 160By edit, I mean adding an elf outfit, for example. If the source needs to be edited, which file should I look for?
Anyone out there having a problem with Exana pox? When walking 100% it doesn't remove the poison, and when stopped it has a small chance of failing.
Post automatically merged:
Outfit color elf is id 144 and dwarf is 160
function onCastSpell(creature, variant)