·
174 commits
to master
since this release
Merge pull request #386 from DigitalBox98/improved
Adjustment on keep lord auto-heal for low level BG
Add Per-Page-Currency (#384)
In database this is set in MerchantItem table where slot -1 is designated for setting currency.
The Price in slot -1 sets the currency ID where:
1 is Copper
2 is ItemCurrency (as in Aurulite, Atlantean Glass etc)
3 is BP
4 is Mithril
ItemCurrency item is set in slot -1 ItemTemplateID. MerchantItem.Price overrides ItemTemplate.Price in merchant listing.
This is supposed to be backwards compatible, so Copper is selected by default and if price is zero (which is the default) in MerchantItem the ItemTemplate.Price is selected.
Merge pull request #385 from Lotendan/feature/PascalStringLength
Add more length restrictions to WritePascalStringIntLE