This is a nice simple way of forcing drops for events and things. With Halloween coming up i figured people might like this.
In /etc/cabal/WorldSvr_XX_YY.ini
UseDropDiscount=1
In /etc/cabal/Data/const.scp
[DropDiscount] = Incrementer. Not useful. Starts and 0 and goes up 1 each time. Make as many lines as you like.Code:[DropDiscount] OriginalKind OriginalOption ChangeKind ChangeOption ChangeRate 0 579 1 783 0 100 1 580 1 783 0 100 2 581 1 783 0 100
OriginalKind = ItemIdx to replace.
OriginalOption = Original ItemOpt
ChangeKind = ItemIdx to replace with
ChangeOption = New ItemOpt
ChangeRate = % chance of replacing (100 = always replace, 50 = replace half the drops).
So...
579 = Extract Potion(STR), OriginalOption (ItemOpt) 1 means 1 potion.Code:[DropDiscount] OriginalKind OriginalOption ChangeKind ChangeOption ChangeRate 0 579 1 783 0 100
783 = Chaos Lamp, OriginalOption 0 as its a normal item.
ChangeRate = 100 means replace all Extract Potion(STR) drops with lamps!
Only change 50%. Extract Pots can be usefulCode:[DropDiscount] OriginalKind OriginalOption ChangeKind ChangeOption ChangeRate 0 579 1 783 0 50
EDIT: Added my worldsvr config example.



Reply With Quote


