Jump to content

Normynator

Developer
  • Posts

    292
  • Joined

  • Last visited

  • Days Won

    16

Posts posted by Normynator

  1. Hey Hey,

     

    check my changed scripted and if you like it i'll continue my work :)

     

    Edit & Update:

    function    script    refinemain    {
        disable_items;
        set [email protected],getarg(1);
        mes "[" + getarg(0) + "]";
        mes "I'm the Armsmith.";
        mes "I can refine all kinds of weapons, armor and equipment, so let me";
        mes "know what you want me to refine.";
        next;
    
        setarray [email protected]$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3";
        set [email protected]$,"";
        for(set [email protected],1; [email protected]<=10; set [email protected],[email protected]+1) {
            if(getequipisequiped([email protected])) {
                set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected]) + "]";
                set [email protected],1;
            }
            set [email protected]$, [email protected]$ + ":";
        }
        if ([email protected] == 0) {
            mes "[" + getarg(0) + "]";
            mes "I don't think I can refine any items you have...";
            close;
        }
        set [email protected], select([email protected]$);
    
        if(!getequipisequiped([email protected])) { //custom check
            mes "[" + getarg(0) + "]";
            mes "You're not wearing";
            mes "anything there that";
            mes "I can refine.";
            emotion e_an;
            close;
        }
        //Check if the item is refinable...
        if(!getequipisenableref([email protected])) {
            mes "[" + getarg(0) + "]";
            mes "I don't think I can";
            mes "refine this item at all...";
            close;
        }
        //Check to see if the items is already +10
        if(getequiprefinerycnt([email protected]) >= 10) {
            mes "[" + getarg(0) + "]";
            mes "I can't refine this";
            mes "any more. This is as";
            mes "refined as it gets!";
            close;
        }
        set [email protected], getequipid([email protected]); // save id of the item
        set [email protected], getequiprefinerycnt([email protected]); //save refinery count
        switch(getequipweaponlv([email protected])){
        case 0:     //Refine Armor
            set [email protected],2000;
            set [email protected],985; //Elunium
            set [email protected],4;
            break;
        case 1:     //Refine Level 1 Weapon
            set [email protected],50;
            set [email protected],1010; //Phracon
            set [email protected],7;
            break;
        case 2:     //Refine Level 2 Weapon
            set [email protected],200;
            set [email protected],1011; //Emveretarcon
            set [email protected],6;
            break;
        case 3:     //Refine Level 3 Weapon
            set [email protected],5000;
            set [email protected],984; //Oridecon
            set [email protected],5;
            break;
        case 4:     //Refine Level 4 Weapon
            set [email protected],20000;
            set [email protected],984; //Oridecon
            set [email protected],4;
            break;
        case 5:     //Refine other stuff?
            set [email protected],2000;
            set [email protected],985; //Elunium
            set [email protected],4;
            break;
        }
    
        // If the VIP system is enabled, the prices for non-VIP players are considerably higher.
        if (VIP_SCRIPT && !vip_status(1)) {
            switch(getequipweaponlv([email protected])) {
                case 0: set [email protected], [email protected] * 10; break;
                case 1: set [email protected], [email protected] * 40; break;
                case 2: set [email protected], [email protected] * 50; break;
                case 3: set [email protected], [email protected] * 2; break;
                case 4: set [email protected], [email protected] * 2; break;
                case 5: set [email protected], [email protected] * 10; break;
            }
        }
    
        if([email protected] != 1) {
            mes "[" + getarg(0) + "]";
            mes "To refine this I need";
            mes "one ^003366"+getitemname([email protected])+"^000000 and";
            mes "a service fee of " + [email protected] + " Zeny.";
            mes "Do you really wish to continue?";
            next;
            if(select("Yes:No") == 2){
                mes "[" + getarg(0) + "]";
                mes "Yeah...";
                mes "There's no need to";
                mes "rush. Take your time.";
                close;
            }
            [email protected] = getequippercentrefinery([email protected]);
            dispbottom "getequ [email protected] : " + [email protected];
            if([email protected] == 4){
            dispbottom [email protected];
                if([email protected] >= 4){
                    mes "Do you want to use Donation-Refiner?";
                    if(select("Yes:No") == 1){
                            next;
                            dispbottom "Check: mit Item";
                            if([email protected] == 4){
                                    [email protected] = 100;
                                    [email protected] = 5;
                                    dispbottom [email protected];
                            }else if([email protected] == 5 ){
                                    [email protected] = 100;
                                    [email protected] = 10;
                                    dispbottom [email protected];
                            }else if([email protected] == 6 ){
                                    [email protected] = 80;
                                    [email protected] = 15;
                                    dispbottom [email protected];
                            }else if([email protected] == 7 ){
                                    [email protected] = 70;
                                    [email protected] = 16;
                                    dispbottom [email protected];
                            }else if([email protected] == 8 ){
                                    [email protected] = 60;
                                    [email protected] = 18;
                                    dispbottom [email protected];
                            }else if([email protected] == 9 ){
                                    [email protected] = 50;
                                    [email protected] = 20;
                                    dispbottom [email protected];
                            }
                            
                            mes "[" + getarg(0) + "]";
                            mes "You need: "+ [email protected] + " " + getitemname( 607 );
                            next;
                            if(select("Yes:No") == 1 && ( countitem( 607 ) > [email protected] )){
                                delitem 607,[email protected];
                                [email protected] = [email protected];
                            }else{
                                mes "[" + getarg(0) + "]";
                                mes "Not enought " + getitemname( 607 );
                                close;
                            }
                    }else{
                        [email protected] = [email protected];
                        next;
                    }
                }
            }
            
            
            if([email protected] < 100) {
                mes "[" + getarg(0) + "]";
                mes "Oh no! If I continue to";
                mes "refine this, there's a risk it could";
                switch([email protected]) {
                case 985:
                    mes "be destroyed! That means that ^FF0000this equipment^000000, and ^FF0000any cards^000000 or special properties added to this armor, ^FF0000will be gone^000000.";
                    break;
                default:
                    mes "be destroyed, and you'd ^FF0000lose the weapon^000000, any ^FF0000cards in the weapon^000000,";
                    mes "or any added special properties.";
                    break;
                }
                next;
                mes "["+getarg(0)+"]";
                mes "I can't make it any clearer.";
                mes "Once a weapon is destroyed,";
                mes "there's no getting it back.";
                mes "You really have a chance to";
                mes "^FF0000lose this weapon^000000 forever.";
                mes "Do you still want to refine?";
                next;
                if(select("Yes:No") == 2){
                    mes "[" + getarg(0) + "]";
                    mes "I completely agree...";
                    mes "I might be a great refiner, but sometimes even I make mistakes.";
                    close;
                }
            }
            if((countitem([email protected]) < 1) || (Zeny < [email protected])) {
                mes "[" + getarg(0) + "]";
                mes "You don't seem to have";
                mes "enough Zeny or "+getitemname([email protected])+"...";
                mes "Go get some more. I'll be";
                mes "here all day if you need me.";
                close;
            }
            set Zeny, [email protected];
            delitem [email protected],1;
    
            //custom checks
            if([email protected] == 0) { // hacker has removed the item (not changed, why?)
                mes "[" + getarg(0) + "]";
                mes "Look here... you don't have any Items on...";
                close;
            }
            if(getequiprefinerycnt([email protected]) != [email protected] || getequipid([email protected]) != [email protected]) { // hacker has changed the item
                mes "[" + getarg(0) + "]";
                emotion e_an;
                mes "Wait a second...";
                mes "Do you think I'm stupid?!";
                mes "You switched the item while I wasn't looking! Get out of here!";
                close;
            }
    
            //dispbottom getequippercentrefinery([email protected]); wieviel % auf succes!
            //dispbottom [email protected]; UPGRADELVL!    
            dispbottom "Check: Versuch zu Upgraden";
            if([email protected] <= rand(100)) {
                dispbottom getequippercentrefinery([email protected]);
                failedrefitem [email protected];
                mes "[" + getarg(0) + "]";
                emotion (!rand(5))?e_cash:e_omg;
                set [email protected],rand(1,3);
                if ([email protected] == 1) {
                    mes "OH! MY GOD!";
                    mes "Damn it! Not again!";
                    mes "I'm terribly sorry, but you know practice does make perfect.";
                    mes "Um, right? Heh heh...";
                } else if([email protected] == 2) {
                    mes "Nooooooo!";
                    mes "It broke!";
                    mes "I-I'm sorry!";
                } else {
                    mes "Crap!";
                    mes "It couldn't take";
                    mes "much more tempering!";
                    mes "Sorry about this...";
                }
                close;
            }
            mes "["+getarg(0)+"]";
            successrefitem [email protected];
            emotion e_heh;
            set [email protected],rand(1,3);
            if ([email protected] == 1) {
                mes "Perfect!";
                mes "Heh heh!";
                mes "Once again,";
                mes "flawless work";
                mes "from the master~";
            } else if([email protected] == 2) {
                mes "Success...!";
                mes "Yet again, my amazing";
                mes "talent truly dazzles";
                mes "and shines today.";
            } else {
                mes "Heh heh!";
                mes "I'm all done.";
                mes "No doubt, my work is";
                mes "to your satisfaction.";
                mes "Sheer, utter perfection~";
            }
            close;
        }
    
  2. wow very complex script, need to read it again :(

    sry i am working with rAthena scripts for less then a week...

     

    EDIT:

    			case 2:
    				set @qe3, getlook(3); set @qe4, getlook(4); set @qe5, getlook(5);
    				if (@qe1&4096) atcommand "@changelook 3 "[email protected];
    				if (@qe1&1024) atcommand "@changelook 1 "[email protected];
    				if (@qe1&2048) atcommand "@changelook 2 "[email protected];
    				set @qe6,1;
    				dispbottom @qe2;
    				dispbottom @qe1;
    				break;
    

    Just tell me the respond :)

  3. the preview function does not work because you made all heads to costume? Did i get it right?

     

    I think the line you are looking for is:

    			case 2:
    				set @qe3, getlook(3); set @qe4, getlook(4); set @qe5, getlook(5);
    				if (@qe1&1) atcommand "@changelook 3 "[email protected];
    				if (@qe1&256) atcommand "@changelook 1 "[email protected];
    				if (@qe1&512) atcommand "@changelook 2 "[email protected];
    				set @qe6,1;
    				break;
    

     

  4. 
    

    //===== rAthena Script =======================================

    //= Guild Prize Giveaway

    //===== By: ==================================================

    //= AnnieRuru / Mysterious

    //===== Current Version: =====================================

    //= 1.5

    //===== Compatible With: =====================================

    //= rAthena SVN

    //===== Description: =========================================

    //= Rewards guild masters of castle owners after each

    //= War of Emperium session.

    //===== Additional Comments: =================================

    //= v1.0 - Intitial Re-release [Mysterious]

    //= v1.1 - Language structures [Mysterious]

    //= v1.2 - Added divisions [Mysterious]

    //= v1.3 - Added proper information [Mysterious]

    //= v1.4 - Optimized! [Euphy]

    //= v1.5 - Little bit of cleaning [Mysterious]

    //============================================================

    prontera,133,163,4 script Castle Rewards 871,{

    mes "[Castle Rewards]";

    if (agitcheck() || agitcheck2()) { mes "WoE is currently still in progress."; close; }

    mes "Please select a castle:";

    next;

    for(set [email protected],0; [email protected]<30; set [email protected],[email protected]+1)

    set [email protected]$, [email protected]$+getcastlename(.Castles$[[email protected]])+":";

    set [email protected], select([email protected]$)-1;

    mes "[Castle Rewards]";

    if (getcastledata(.Castles$[[email protected]],1) != getcharid(2)) { mes "You aren't the owner of this castle."; close; }

    if (getguildmasterid(getcharid(2)) != getcharid(0)) { mes "Only the guild master can claim the reward."; close; }

    if ($castle_claimed&(1<<[email protected])) { mes "You've already claimed this castle's reward!"; close; }

    mes "Here's your reward for conquering "+getcastlename(.Castles$[[email protected]])+".";

    set $castle_claimed, $castle_claimed | (1<<[email protected]);

    getitem 7539,300; //Set your prize here!

    close;

    OnAgitEnd:

    set $castle_claimed, 0;

    end;

    OnInit:

    setarray .Castles$[0],

    "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05",

    "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05",

    "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05",

    "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05",

    "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05",

    "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05";

    end;

    }

    try this script, check franciscos answer

  5. Luk works for me...

    prontera,155,169,5	script	rstat	56,{
    	[email protected] = rand(0,100);
    	if ( countitem( 607 ) < .num_req ) {
    		dispbottom "I need "+ .num_req +" "+ getitemname( 607 ) +" to gamble.";
    		end;
    	}
    	else if ( select( "Gamble", "Leave" ) -1 ) end;
    	
    	for ( [email protected] = 203; [email protected] < 209; [email protected]++ )
    		sc_end [email protected];
    	
    	if ( [email protected] >= 90 ) {
    		[email protected] = 300;
    	}else if ([email protected] >= 85){
    		[email protected] = 200;
    	}else if ([email protected] >= 80){
    		[email protected] = 100;
    	}else if ([email protected] >= 50){
    		[email protected] = 30;
    	}else if ([email protected] >= 30){
    		[email protected] = 20;
    	}else if ([email protected] >= 10){
    		[email protected] = 3;
    	}else{
    		mes "Statbonus Failed";
    		close;
    	}
    	
    	mes "Stats changed: " + [email protected];
    	//mes [email protected] + "  " + [email protected];
    	//[email protected] = rand( .min_stat,.max_stat );
    	for ( [email protected] = 203; [email protected] < 209; [email protected]++ )
    		sc_start [email protected],1200000, [email protected];
    	end;
    OnInit:
    	.num_req = 1;	// number item 607 required to gamble
    	end;	
    }
    

    I hope new script works :)

    Sry for changing the original soo much :(

  6. Update:

    prontera,155,169,5	script	rstat	56,{
    	if ( countitem( 607 ) < .num_req ) {
    		dispbottom "I need "+ .num_req +" "+ getitemname( 607 ) +" to gamble.";
    		end;
    	}
    	else if ( select( "Gamble", "Leave" ) -1 ) end;
    	[email protected] = rand( .min_stat,.max_stat );
    	for ( [email protected] = 203; [email protected] < 209; [email protected]++ )
    		 sc_end [email protected];
    	for ( [email protected] = 203; [email protected] < 209; [email protected]++ )
    		sc_start [email protected],1200000, [email protected];
    	end;
    OnInit:
    	.num_req = 1;	// number item 607 required to gamble
    	.min_stat = 1;	// min allstats
    	.max_stat = 200;	// max
    	end;	
    }
    
    

    i hope its fine now :)

  7.  

    probier mal den 2013-08-07 client und nimm den nemo differ und diff die exe nochmal neu.

     

    http://k3dt.eu/Ragexe/unpacked/

    http://hercules.ws/board/topic/630-2013-ragexe-and-diff-up-to-date-2013-08-07/

    http://hercules.ws/board/topic/2905-nemo-client-patcher/

     

    und meine Patchlist:

     

    8 Custom Window Title

    9 Disable 1rag1 type parameters (Recommended)

    13 Disable Ragexe Filename Check (Recommended)

    15 Disable HShield (Recommended)

    16 Disable Swear Filter

    17 Enable Official Custom Fonts

    24 Fix Camera Angles (Recommended)

    32 Increase Zoom Out Max

    33 Always Call SelectKoreaClientInfo() (Recommended)

    34 Enable /showname (Recommended)

    35 Read Data Folder First

    36 Read msgstringtable.txt (Recommended)

    37 Read questid2display.txt (Recommended)

    40 Restore Login Window (Recommended)

    44 Translate Client (Recommended)

    46 Use Normal Guild Brackets

    47 Use Ragnarok Icon

    48 Use Plain Text Descriptions (Recommended)

    49 Enable Multiple GRFs (Recommended)

    50 Skip License Screen

    51 Ascii & Arial on All Langtypes (Recommended)

    61 Disable Packet Encryption (Recommended)

    64 @ Bug Fix (Recommended)

    71 Ignore Missing File Error

    84 Remove Serial Display (Recommended)

    97 Cancel to Login Window (Recommended)

     

     

    Sry it was a german post but

    links are in english

    and there you can see my patchlist too. :) good luck

  8. probier mal den 2013-08-07 client und nimm den nemo differ und diff die exe nochmal neu.

     

    http://k3dt.eu/Ragexe/unpacked/

    http://hercules.ws/board/topic/630-2013-ragexe-and-diff-up-to-date-2013-08-07/

    http://hercules.ws/board/topic/2905-nemo-client-patcher/

     

    und meine Patchlist:
     

    8 Custom Window Title
    9 Disable 1rag1 type parameters (Recommended)
    13 Disable Ragexe Filename Check (Recommended)
    15 Disable HShield (Recommended)
    16 Disable Swear Filter
    17 Enable Official Custom Fonts
    24 Fix Camera Angles (Recommended)
    32 Increase Zoom Out Max
    33 Always Call SelectKoreaClientInfo() (Recommended)
    34 Enable /showname (Recommended)
    35 Read Data Folder First
    36 Read msgstringtable.txt (Recommended)
    37 Read questid2display.txt (Recommended)
    40 Restore Login Window (Recommended)
    44 Translate Client (Recommended)
    46 Use Normal Guild Brackets
    47 Use Ragnarok Icon
    48 Use Plain Text Descriptions (Recommended)
    49 Enable Multiple GRFs (Recommended)
    50 Skip License Screen
    51 Ascii & Arial on All Langtypes (Recommended)
    61 Disable Packet Encryption (Recommended)
    64 @ Bug Fix (Recommended)
    71 Ignore Missing File Error
    84 Remove Serial Display (Recommended)
    97 Cancel to Login Window (Recommended)
    
    
  9. prontera,155,169,5	script	rstat	56,{
    	if ( countitem( 607 ) < .num_req ) {
    		dispbottom "I need "+ .num_req +" "+ getitemname( 607 ) +" to gamble.";
    		end;
    	}
    	else if ( select( "Gamble", "Leave" ) -1 ) end;
    	[email protected] = rand( .min_stat,.max_stat );
    	for ( [email protected] = 203; [email protected] < 209; [email protected]++ )
    		sc_start [email protected],1200000,[email protected];
    	end;
    OnInit:
    	.num_req = 1;	// number item 607 required to gamble
    	.min_stat = 1;	// min allstats
    	.max_stat = 200;	// max
    	end;	
    }
    

    Maybe you can do it this way :)

  10. Try this:

     

    //===== eAthena Script =======================================
    //= Job Master
    //===== By: ==================================================
    //= Euphy
    //===== Current Version: =====================================
    //= 1.3 - eAthena
    //===== Compatible With: ===================================== 
    //= eAthena SVN
    //===== Description: =========================================
    //= A fully functional job changer.
    //============================================================
     
    prontera,162,190,6 script Job Master 123,{
    function Job_Menu; function A_An;
     
    mes "[Job Master]";
    if (Class > 4049) {
    mes "No more jobs are available.";
    close; }
    if (checkfalcon() || checkcart() || checkriding()) {
    mes "Please remove your "+((checkfalcon())?"falcon":"")+((checkcart())?"cart":"")+((checkriding())?"Peco":"")+" before proceeding.";
    close; }
    if (.SkillPointCheck && SkillPoint) {
    mes "Please use all your skill points before proceeding.";
    close; }
     
    set [email protected], eaclass();
    set [email protected], ((.ThirdClass)?roclass([email protected]&EAJ_UPPERMASK):Class);
    if (BaseLevel < .Rebirth[0] || JobLevel < .Rebirth[1]) {
    set [email protected], .Rebirth[0]-BaseLevel; set [email protected], .Rebirth[1]-JobLevel;
    mes "You need "+(([email protected]>0)[email protected]+" more base levels "+(([email protected]>0)?"/ ":""):"")+(([email protected]>0)[email protected]+" more job levels ":"")+"to continue.";
    close; }
    if (Class > 21) {
    mes "Switch to third class?";
    next;
    Job_Menu(roclass([email protected]|EAJL_THIRD));
    close; }
    while(1) {
    mes "Select an option.";
    next;
    set [email protected], select(" ~ ^0055FFRebirth^000000:"+((.ThirdClass)?" ~ ^FF0000Third Class^000000":"")+": ~ ^777777Cancel^000000");
    if ([email protected]==3) close;
    mes "[Job Master]";
    mes "Are you sure?";
    next;
    Job_Menu((([email protected]==1)?4001:roclass([email protected]|EAJL_THIRD)));
    mes "[Job Master]"; } }
    set [email protected], roclass([email protected]|EAJL_2_1); set [email protected],roclass([email protected]|EAJL_2_2);
    if (([email protected]&EAJ_UPPERMASK) == EAJ_SUPER_NOVICE) setarray [email protected][0],roclass([email protected]|EAJL_THIRD),99;
    if (Class == Job_Ninja) setarray [email protected][0],[email protected],70;
    if ([email protected][0] && .ThirdClass) {
    if (BaseLevel < .Rebirth[0] || JobLevel < [email protected][1]) {
    set [email protected], .Rebirth[0]-BaseLevel; set [email protected], [email protected][1]-JobLevel;
    mes "You need "+(([email protected]>0)[email protected]+" more base levels "+(([email protected]>0)?"/ ":""):"")+(([email protected]>0)[email protected]+" more job levels ":"")+"to continue.";
    close; }
    mes "Switch to "+jobname([email protected][0])+"?";
    next;
    Job_Menu([email protected][0]);
    close; }
    if ([email protected]&EAJL_2)
    if ([email protected]&(EAJL_UPPER|EAJL_BABY) || roclass([email protected]|EAJL_UPPER) == -1) {
    mes "No more jobs are available.";
    close; }
    if (([email protected]&EAJ_BASEMASK) == EAJ_NOVICE) {
    if (JobLevel < .JobReq[0])
    mes "A job level of "+.JobReq[0]+" is required to change into the 1st Class.";
    else if (Class == 4001 && .LastJob && lastJob) {
    mes "Switch classes now?";
    next;
    Job_Menu(roclass((eaclass(lastJob)&EAJ_BASEMASK)|EAJL_UPPER)); }
    else switch(Class) {
    case 0: Job_Menu(1,2,3,4,5,6,23,4023);
    case 4001: Job_Menu(4002,4003,4004,4005,4006,4007);
    case 4023: Job_Menu(4024,4025,4026,4027,4028,4029,4045);
    default: mes "An error has occurred."; break; }
    close; }
    if (roclass([email protected]|EAJL_2_1) == -1 || roclass([email protected]|EAJL_2_2) == -1)
    mes "No more jobs are available.";
    else if (!([email protected]&EAJL_2) && JobLevel < .JobReq[1])
    mes "A job level of "+.JobReq[1]+" is required to change into the 2nd Class.";
    else if (.LastJob && lastJob && ([email protected]&EAJL_UPPER)) {
    mes "Switch classes now?";
    next;
    Job_Menu(lastJob+4001); }
    close;
     
    function Job_Menu {
    while(1) {
    if (getarg(1,0)) {
    mes "Select a job.";
    for(set [email protected],0; getarg([email protected],0); set [email protected],[email protected]+1)
                    if(getarg([email protected]) != 18){
                        set [email protected]$, [email protected]$+" ~ "+jobname(getarg([email protected]))+":";
                    }
                set [email protected]$, [email protected]$+" ~ ^777777Cancel^000000";
    next;
    set [email protected], getarg(select([email protected]$)-1,0);
    if ([email protected]) close;
    if ([email protected] == 18) close;
    if (([email protected] == 23 || [email protected] == 4045) && BaseLevel < .SNovice) {
    mes "[Job Master]";
    mes "A base level of "+.SNovice+" is required to turn into a "+jobname([email protected])+".";
    close; }
    mes "[Job Master]";
    mes "Are you sure?";
    next; }
    else set [email protected], getarg(0);
    if (select(" ~ Change into ^0055FF"+jobname([email protected])+"^000000 class: ~ ^777777"+((getarg(1,0))?"Go back":"Cancel")+"^000000")==1) {
    mes "[Job Master]";
    mes "You are now "+A_An(jobname([email protected]))+"!";
    if ([email protected]==4001 && .LastJob) set lastJob, Class;
    if ([email protected]==4001 || [email protected]==4023) resetlvl(1);
    specialeffect2 338; specialeffect2 432;
    if (.Platinum) callsub Get_Platinum;
    close; }
    if (getarg(1,0)) mes "[Job Master]";
    else return; }
    end; }
     
    function A_An {
    setarray [email protected]$[0],"a","e","i","o","u";
    set [email protected]$, "_"+getarg(0);
    if (compare([email protected]$,"_"[email protected]$[[email protected]])) return "an "+getarg(0);
    return "a "+getarg(0); }
     
    Get_Platinum:
    skill 142,1,0;
    switch(BaseClass) {
    case 0: if (Class !=23) skill 143,1,0; break;
    case 1: skill 144,1,0; skill 145,1,0; skill 146,1,0; break;
    case 2: skill 157,1,0; break;
    case 3: skill 147,1,0; skill 148,1,0; break;
    case 4: skill 156,1,0; break;
    case 5: skill 153,1,0; skill 154,1,0; skill 155,1,0; break;
    case 6: skill 149,1,0; skill 150,1,0; skill 151,1,0; skill 152,1,0; break;
    default: break; }
    switch(roclass(eaclass()&EAJ_UPPERMASK)) {
    case 7: skill 1001,1,0; break;
    case 8: skill 1014,1,0; break;
    case 9: skill 1006,1,0; break;
    case 10: skill 1012,1,0; skill 1013,1,0; break;
    case 11: skill 1009,1,0; break;
    case 12: skill 1003,1,0; skill 1004,1,0; break;
    case 14: skill 1002,1,0; break;
    case 15: skill 1015,1,0; skill 1016,1,0; break;
    case 16: skill 1007,1,0; skill 1008,1,0; skill 1017,1,0; skill 1018,1,0; skill 1019,1,0; break;
    case 17: skill 1005,1,0; break;
    case 18: skill 238,1,0; break;
    case 19: skill 1010,1,0; break;
    case 20: skill 1011,1,0; break;
    default: break; }
    return;
     
    OnInit:
    setarray .Rebirth[0],99,50; // Minimum base level, job level to rebirth OR change to third class
    setarray .JobReq[0],10,40; // Minimum job level to turn into 1st class, 2nd class
    set .ThirdClass,0; // Enable third classes? (1: yes / 0: no)
    set .SNovice,45; // Minimum base level to turn into Super Novice
    set .LastJob,1; // Enforce linear class changes? (1: yes / 0: no)
    set .SkillPointCheck,1; // Force player to use up all skill points? (1: yes / 0: no)
    set .Platinum,1; // Get platinum skills automatically? (1: yes / 0: no)
    end;
    }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.