viewing paste Unknown #441 | 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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
////////////////////////////////////////////////////
//----idea by ryo---------------------------------//
//----Script by Daredevil-------------------------//
//----Help Edit some part by Nameless2you---------//
//----Version Changlog----------------------------//
// 1.1- Remove get stapo card Free                //
// 1.2- Add msg,information,shop function         //
////////////////////////////////////////////////////
 
prontera,156,176,4  script  Caster War Arena    414,{
 
mes "Weclome to S.Caster War Arena.";
mes "Hi, I'am SCW Staff. Nice to meet you.";
mes "I'm the in charge of S.Caster War Arena";
mes "What can I serve you?";
switch(select("Enter War:Caster Shop:Instruction Guide:Cancel")){
case 1:
    next;
        if (Class == Job_Novice) {
        if(BaseLevel > 30) goto L_End;
        if (countitem(4424) < 1);
        mes "Select a map?";
        set .@menu,select("Map 01");                // Add new map names here
        //set .@menu,select("Map 01","Map 02");     // Example for 2 maps
        sc_end SC_CP_WEAPON;
        sc_end SC_CP_ARMOR;
        sc_end SC_CP_HELM;
        sc_end SC_CP_SHIELD;
        nude;
        sc_start SC_STRIPWEAPON,6000000,5; // you can change the duration
        sc_start SC_STRIPARMOR,6000000,5; // you can change the duration
        sc_start SC_STRIPSHIELD,6000000,5; // you can change the duration
        sc_start SC_STRIPHELM,6000000,5; // you can change the duration
        sleep2 500;
        switch(.@menu) {    // Add map warps here
            case 1: warp "poring_c02",0,0; break;   
            //case 2: warp <map>,<x>,<y>; break;    // Example for second map
        }
        end;
        } else {
            mes "[SCW Staff]";
            mes "Sorry! Only Novice Character are Allow to Enter";
        close;
        }
        
case 2:
    next;
        callshop "Caster Shop",1;
    close;
case 3:
    next;
        mes "[Stone Caster War Arena]";
        mes "\\\\\\\\\\[Information]\\\\\\\\\\";
        mes "This is a difference Mini PvP Game. Have Fun.";
        mes "There will be 4 Healer Npc. and can be Re-use Every 1 minit.";
        mes "Requirement: Equip Stapo Card. Level Below 30.";
        mes "Disable: Skill,Equipment,Healing Item.";
        mes "Allow: Apple,Accessories.";
        mes "How to play?";
        mes "Just pick up the Stone and trow to kill your opponent.";
 
    close;
case 4:
    close;
 
}
}
 
poring_c02  mapflag restricted 2
poring_c02  mapflag pvp
poring_c02  mapflag noexp
poring_c02  mapflag nomemo
poring_c02  mapflag nowarp
poring_c02  mapflag nowarpto
poring_c02  mapflag noteleport
poring_c02  mapflag nosave SavePoint
poring_c02  mapflag nomemo
poring_c02  mapflag nobranch
 
// Add these mapflags and duplicates for every new map
/*
<map>   mapflag restricted 2
<map>   mapflag pvp
<map>   mapflag noexp
<map>   mapflag nomemo
<map>   mapflag nowarp
<map>   mapflag nowarpto
<map>   mapflag noteleport
<map>   mapflag nosave SavePoint
<map>   mapflag nomemo
<map>   mapflag nobranch
*/
 
/*
<map>,<x>,<y>,4 duplicate(Light Priest01)   Light Priest01#01   414
<map>,<x>,<y>,4 duplicate(Light Priest02)   Light Priest02#01   414
<map>,<x>,<y>,4 duplicate(Light Priest03)   Light Priest03#01   414
<map>,<x>,<y>,4 duplicate(Light Priest04)   Light Priest04#01   414
*/
 
//-----------------Shop--------------------//
-   shop    Caster Shop -1,4424:100000,7049:2,
 
//-----------Healer Npc--------------------//
poring_c02,94,123,4 script  Light Priest01  414,{
        callfunc "F_ClearGarbage",0;
        mes "[Light Priest]";
        mes "What can i help you?";
        mes "You look like a person who needs Help";
        mes "I can Heal your wound.";
        next;
        switch(select("Heal:No thanks")) {
        case 1:
                mes "[Healer]";
                if ((@PC_LAST_HEAL_TIME +60) > gettimetick(2)) {
                        mes "Huh? I'm Sorry i need some Rest. Please Wait " + (@PC_LAST_HEAL_TIME +60 - gettimetick(2)) + " seconds.";
                } else {
                        set @PC_LAST_HEAL_TIME, gettimetick(2);
                        percentheal 10,10;
                        mes "you are now healed!.";
                        mes "Have fun on S-Caster War!!";
                }
                break;
        case 2:
                mes "[Light Priest]";
                mes "Alright, come back if you need a heal.";
                break;
        }
        close;
}
 
poring_c02,144,123,4    script  Light Priest02  414,{
        callfunc "F_ClearGarbage",0;
        mes "[Light Priest]";
        mes "What can i help you?";
        mes "You look like a person who needs Help";
        mes "I can Heal your wound.";
        next;
        switch(select("Heal:No thanks")) {
        case 1:
                mes "[Healer]";
                if ((@PC_LAST_HEAL_TIME +60) > gettimetick(2)) {
                        mes "Huh? I'm Sorry i need some Rest. Please Wait " + (@PC_LAST_HEAL_TIME +60 - gettimetick(2)) + " seconds.";
                } else {
                        set @PC_LAST_HEAL_TIME, gettimetick(2);
                        percentheal 10,10;
                        mes "you are now healed!.";
                        mes "Have fun on S-Caster War!!";
                }
                break;
        case 2:
                mes "[Light Priest]";
                mes "Alright, come back if you need a heal.";
                break;
        }
        close;
}
 
poring_c02,146,43,4 script  Light Priest03  414,{
        callfunc "F_ClearGarbage",0;
        mes "[Light Priest]";
        mes "What can i help you?";
        mes "You look like a person who needs Help";
        mes "I can Heal your wound.";
        next;
        switch(select("Heal:No thanks")) {
        case 1:
                mes "[Healer]";
                if ((@PC_LAST_HEAL_TIME +60) > gettimetick(2)) {
                        mes "Huh? I'm Sorry i need some Rest. Please Wait " + (@PC_LAST_HEAL_TIME +60 - gettimetick(2)) + " seconds.";
                } else {
                        set @PC_LAST_HEAL_TIME, gettimetick(2);
                        percentheal 10,10;
                        mes "you are now healed!.";
                        mes "Have fun on S-Caster War!!";
                }
                break;
        case 2:
                mes "[Light Priest]";
                mes "Alright, come back if you need a heal.";
                break;
        }
        close;
}
 
poring_c02,91,43,4  script  Light Priest04  414,{
        callfunc "F_ClearGarbage",0;
        mes "[Light Priest]";
        mes "What can i help you?";
        mes "You look like a person who needs Help";
        mes "I can Heal your wound.";
        next;
        switch(select("Heal:No thanks")) {
        case 1:
                mes "[Healer]";
                if ((@PC_LAST_HEAL_TIME +60) > gettimetick(2)) {
                        mes "Huh? I'm Sorry i need some Rest. Please Wait " + (@PC_LAST_HEAL_TIME +60 - gettimetick(2)) + " seconds.";
                } else {
                        set @PC_LAST_HEAL_TIME, gettimetick(2);
                        percentheal 10,10;
                        mes "you are now healed!.";
                        mes "Have fun on S-Caster War!!";
                }
                break;
        case 2:
                mes "[Light Priest]";
                mes "Alright, come back if you need a heal.";
                break;
        }
        close;
}
Viewed 828 times, submitted by Guest.