Fixed WoE:FE castles spawning too many Treasure Boxes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14141 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
3959ec7218
commit
de0efc5bbd
@ -1273,7 +1273,7 @@ OnClock0001:
|
|||||||
setcastledata strnpcinfo(2),5,0;
|
setcastledata strnpcinfo(2),5,0;
|
||||||
|
|
||||||
// Spawn boxes in proper order.
|
// Spawn boxes in proper order.
|
||||||
for (set .@i,0; .@i <= .@Treasure ; set .@i,.@i+1) {
|
for (set .@i,0; .@i < .@Treasure ; set .@i,.@i+1) {
|
||||||
// set treasure box ID
|
// set treasure box ID
|
||||||
set .@boxid, .@treasurebox + (.@i+2) % 2;
|
set .@boxid, .@treasurebox + (.@i+2) % 2;
|
||||||
set .@box,1 << .@i;
|
set .@box,1 << .@i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user