viewing paste Treasure Hunting Event | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
// ---            ARTHistic's Property            ---
// ---    Please visit http://thdesigns.co.nr     ---
// ---           Scripted By: ARTHistic           ---
// ---         Do Not Revomed the Credits         ---
 
prontera,130,205,5  script  Treasure Box Summoner   856,{
    mes "[ Treasure Box Event ]";
    mes "Hello, I'm a new mage here in Midgard. Every hour, I tried to cast my summoning spells and there a chance that i can summon a Treasure Box that will give you items once you destroy it. I only cast my spell on main city and I immediately announce to everyone once I perfectly cast my spells. Anyways, I will give you a little hint...";
        if( $@tboxevent == 0 ){
            mes "I ^ff0000failed^000000 to summoned the Treasure Box last time.^000000";
    }else {
            mes "^I successfully summoned the Treasure Box last time.";
    }
    mes " ";
    mes "Scripted by: ^777777ARTHistic^000000";
    close;
 
OnMinute00:
    set $@tboxevent, rand(2);
    if ( $@tboxevent != 0 ){
        announce "Treasure Box Summoner: I perfectly cast my summoning skills.",0;
        sleep2 5000;
        announce "A rare Treasure Box will be spawned in 30 seconds at Prontera.",0;
        sleep2 30000;
        monster "prontera.gat",0,0,"Treasure Box",1845,1,"Treasure Box Summoner::OnTBoxKilled";
        end;
    }else {
        end;
    }
    end;
 
OnTBoxKilled:
    announce "The rare Treasure Box has been founded and destroyed by "+strcharinfo(0)+"!", bc_all;
    getitem 7539, 5;
    end;
}
Viewed 689 times, submitted by Guest.