Packed Envelope

Item ID 22611 Name Packed Envelope
Often found in the Excavation Site, this envelope activates a random effect for 30 seconds when opened.
_______________________
Weight: 1
Weapon Level 0 Identifier Packing_Envelope
Attack 0 Type Usable
MATK 0 Equip Locations None
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 1 Min Equip Level None
NPC Buy 10 Max Equip Level None
NPC Sell 5 Refineable No
Credit Price None Trade restriction None
Item Script
.@rnd = rand(1,10);
if (.@rnd == 1)
   sc_start SC_PACKING_ENVELOPE1,30000,33; // +atk
else if (.@rnd == 2)
   sc_start SC_PACKING_ENVELOPE2,30000,33; // +matk
else if (.@rnd == 3)
   sc_start SC_PACKING_ENVELOPE3,30000,3; // +hp%
else if (.@rnd == 4)
   sc_start SC_PACKING_ENVELOPE4,30000,3; // +sp%
else if (.@rnd == 5)
   sc_start SC_PACKING_ENVELOPE5,30000,33; // +flee
else if (.@rnd == 6)
   sc_start SC_PACKING_ENVELOPE6,30000,3; // +aspd
else if (.@rnd == 7)
   sc_start SC_PACKING_ENVELOPE7,30000,33; // +def
else if (.@rnd == 8)
   sc_start SC_PACKING_ENVELOPE8,30000,33; // +mdef
else if (.@rnd == 9)
   sc_start SC_PACKING_ENVELOPE9,30000,33; // +crit
else
   sc_start SC_PACKING_ENVELOPE10,30000,33; // +hit
if (getequipid(EQI_HEAD_MID) == 15385)
   warp "verus04",115,243;
/* todo check map x y */