Jump to content

imajhaynation

Members
  • Posts

    54
  • Joined

  • Last visited

Posts posted by imajhaynation

  1. hello i want to request 4049/Soul Linker cannot enter in the pvp rom :) here's my script thanks

    prontera.gat,162,183,6 script PvP Warper 939,{
    
    mes "[PvP Warper]";
    mes "Which arena do you want to go to?";
    next;
    switch(select("PVP Arena["+getmapusers("pvp_y_1-2")+"/100]:Baby PvP  Room ["+getmapusers("pvp_y_5-2")+"/100]")) {
    
    
    case 1: // Normal Pvp
    if (getmapusers("pvp_y_1-2") > 99) callsub S_full;
    sc_end SC_ALL;
    percentheal 100,100;
    sc_start SC_BLESSING,300000,10;
    sc_start SC_INCREASEAGI,300000,10;
    specialeffect2 EF_BLESSING;
    specialeffect2 EF_INCAGILITY;
    warp "pvp_y_1-2",0,0;
    end;
    
    
    
    
    Case 2: // Baby 3rd job PvP Room
    if (getmapusers("pvp_y_5-2") > 99) callsub S_full;
    if (class < 4096 || class > 4108) goto L_Not3Baby;
    warp "pvp_y_5-2",0,0;
    end;
    L_Not3Baby:
    mes "[PvP Warper]";
    mes "Only  baby class can enter this room";
    close; 
    
    }
    
    S_full:
    mes "[PvP Warper]";
    mes "I'm sorry, this arena is full.  Please try again later...";
    close;
    
    }

  2. bdm:
    if (countitem(.Cost[0]) < .Cost[1]) close;
    next;
    if(select("Deal me in!:No way...")==2) close;
    mes "[Piercing Expert]";
    mes "Here we go...";
    progressbar "",2;
    delitem .Cost[0], .Cost[1];
    set .@i, rand(1,.Total);
    if (rand(1,100) > getd(".P"+.@i+"[0]")) {
     for(set .@j,0; .@j<getarraysize(.Default); set .@j,.@j+2) {
      getitem .Default[.@j], .Default[.@j+1];
      if (!.@k[0]) setarray .@k[0], .Default[.@j], .Default[.@j+1]; } }
    else {
     for(set .@j,1; .@j<getarraysize(getd(".P"+.@i)); set .@j,.@j+2) {
      getitem getd(".P"+.@i+"["+.@j+"]"), getd(".P"+.@i+"["+(.@j+1)+"]");
      if (!.@k[0]) setarray .@k[0], getd(".P"+.@i+"["+.@j+"]"), getd(".P"+.@i+"["+(.@j+1)+"]"); } }
    announce "Congratulations to "+strcharinfo(0)+" for getting "+.@k[1]+"x "+getitemname(.@k[0])+"!",0;
    specialeffect2 248;
    close;
    
    OnInit2:
    // Format: <%>,<item ID>,<count>{,...};
    setarray .P1[0],20,2204,1; // YGG change to you Black Devil Mask Id
    setarray .Default[0],0,0;
    setarray .Cost[0],6396,1;//6396 = Auger of Spirit
    set .Total,1;
    
    end; 

    still getting the slotted elven ears >.<

×
×
  • Create New...