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:
Gepard 2009-11-10 19:09:00 +00:00
parent 3959ec7218
commit de0efc5bbd

View File

@ -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;