Otti's Warper Unlock
#610000 · Otti_Warper_Unlock
TypeCash
Buy10 z
Sell5 z
Weight0.1
Script
.@aid = getcharid(3);
.@sql$ = "INSERT INTO `warper_unlocks` (`account_id`, `warp_id`, `unlocked`) VALUES ";
.@hasRow = 0;
// Dungeons 100-140
for (.@i = 100; .@i <= 140; .@i++) {
if (.@hasRow) .@sql$ += ",";
.@sql$ += "(" + .@aid + "," + .@i + ",1)";
.@hasRow = 1;
}
// Towns 300-329
for (.@i = 300; .@i <= 329; .@i++) {
if (.@hasRow) .@sql$ += ",";
.@sql$ += "(" + .@aid + "," + .@i + ",1)";
.@hasRow = 1;
}
.@sql$ += " ON DUPLICATE KEY UPDATE `unlocked` = 1";
query_sql(.@sql$);
dispbottom "All warper locations unlocked!";
end;
Dropped by
No monster drops this item.
Sold by
No NPC sells this item.
