Jump to content

Zaon

Members
  • Posts

    60
  • Joined

  • Last visited

Posts posted by Zaon

  1. Job_Minstrel	4068
    Job_Minstrel_T	4075
    

    there are 2 type of 3rd job class...regular / transcendent

    Oh wow,

     

    This makes me feel so dumb.  /sob

    I'll see if it works now.

     

    Thanks Emistry

     

    EDIT: Works now. Thanks again Emistry

  2. Try this one...

     

    22019,Byakugan,Byakugan,5,0,0,1000,,0,,1,0xFFFFFFFE,7,2,512,,1,0,813,{ bonus bDex,3; bonus bAgi,3; bonus bLuk,3; bonus2 bAddRace,RC_DemiHuman,3; bonus2 bSubRace,RC_DemiHuman,3; if(Class == Job_Minstrel)  bonus2 bSkillAtk,"CG_ARROWVULCAN",50; bonus bMaxHPrate,15; },{},{}

    still doesnt work, i've also tried changing "CG_ARROWVULCAN" with it's skill id (394)

  3.  

    Is this where I'm supposed to put it?

     

    OnThanaDead:
    	donpcevent "#thanatimer::OnActive";
    

    it's the good one

     

    OnThanaDead:
    	donpcevent "#thanatimer::OnActive";
    	doevent "MVPReward#1708::OnNPCKillEvent";
    	set $@thana_summon,6;
    	end;
    

    I've tried this still doesn't work. Is there anyway to change the way thana is summoned?

    atcommand "@monster 1708"
    

    is it possible to change how it's summoned in the quest?

  4.  

    If(Class==Job_Minstrel) bonus2 bSkillAtk,"CG_ARROWVULCAN",50; bonus bMaxHPrate,15;

     

    Try BaseClass == Job_Bard instead of Class == Job_Minstrel. If you want add to dancer, use BaseClass == Job_Bard || BaseClass == Job_Dancer

     

     

    I've tried both of these and it still doesn't work.

  5. 22019,Byakugan,Byakugan,5,0,0,1000,,0,,1,0xFFFFFFFE,7,2,512,,1,0,813,{bonus bDex,3; bonus bAgi,3; bonus bLuk,3; bonus2 bAddRace,RC_DemiHuman,3; bonus2 bSubRace,RC_DemiHuman,3; if(Class == Job_Minstrel) {bonus2 bSkillAtk,394,50; bonus bMaxHPrate,15;}},{},{}
    

    I've tried adding this script but It doesn't work, neither the damage nor the bonus hp is added to the minstrel class.

  6. Yes the purpose of the script is to give some sort of points to the partymembers so that all of them can share the points. Thanks I forgot to close the loop.

     

    Thanks for the help, ill try what you suggested

     

    EDIT: How do i add a doevent label in their quest script? As you can see I'm a beginner at scripting.

  7. My MVP cash points script is not working when thanatos or ktullanux or any summoned mvps via quests are summoned.

    Anyone know a fix?

     

    OnNPCKillEvent:
    if (killedrid == 1708)	{ // THANATOS
    if (getcharid(1)){
    	getpartymember getcharid(1),1;
    	getpartymember getcharid(1),2;
    	set .@acc_id, getcharid(3);
    	for( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 )
    		if( isloggedin( $@partymemberaid[.@i],$@partymembercid[.@i] ) )
    			if( attachrid( $@partymemberaid[.@i] ) )
    			set #CASHPOINTS, #CASHPOINTS + (24/$@partymembercount);
    			set .@sharedpoints, (24/$@partymembercount);
    			dispbottom "You have gained "+.@sharedpoints+" DaedaRO Points.";
    
    	attachrid( .@acc_id );
    	dispbottom "All party members have gained "+.@sharedpoints+" DaedaRO Points.";
    	announce "MVP Watcher: "+strcharinfo(0) +" and the "+strcharinfo(1) +" party have killed " +getmonsterinfo(killedrid,0) +" for 24 DaedaRO point/s!",0,0x38ACEC;
    	}
    	else{
    
    set #CASHPOINTS, #CASHPOINTS + 24;
    dispbottom "You have gained 24 DaedaRO point/s. Total is "+ #CASHPOINTS +" DaedaRO points.";
    announce "MVP Watcher: " +strcharinfo(0) +" has just killed " +getmonsterinfo(killedrid,0) +" for 24 DaedaRO point/s!",0,0x38ACEC;
    end;
    }
    }
    }
    

     

  8. OnNPCKillEvent:
    if (killedrid == 1956)	{ // IFRIT
    if (getcharid(1)){
    	getpartymember getcharid(1),1;
    	getpartymember getcharid(1),2;
    	set .@acc_id, getcharid(3);
    	for( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 )
    		if( isloggedin( $@partymemberaid[.@i],$@partymembercid[.@i] ) )
    			if( attachrid( $@partymemberaid[.@i] ) )
    			set .@sharedpoints, (50/$@partymembercount);
    			set #CASHPOINTS, #CASHPOINTS + .@sharedpoints;
    
    	attachrid( .@acc_id );
    	dispbottom "All party members have gained "+.@sharedpoints+" DaedaRO Points.";
    	announce "MVP Watcher: "+strcharinfo(0) +" and the "+strcharinfo(1) +" party have killed Naght Sieger for 50 DaedaRO point/s!",0,0x38ACEC;
    	}
    

     

     

    What do I need to do so that It also displays " You have gained "+.@sharedpoints+" DaedaRO Points." for every member of the party not only the killer?

     

     

  9. use getcharid

    if( getcharid(1) ){
        // you got party..
    }
    

     

     

    You mean like this?

    
    -	script	MVPShareTest	-1,{
    
    OnNPCKillEvent:
    if (killedrid == 1956)	{ // NAGHT SIEGER
    if (getcharid(1)){
    	getpartymember getcharid(1),1;
    	getpartymember getcharid(1),2;
    	.@acc_id = getcharid(3);
    	for( .@i = 0; .@i < $@partymembercount; .@i++ )
    		if( isloggedin( $@partymemberaid[.@i],$@partymembercid[.@i] ) )
    			if( attachrid( $@partymemberaid[.@i] ) )
    				#CASHPOINTS += ( 100 / $@partymembercount );
    
    	attachrid( .@acc_id );
    	dispbottom "All ur partymember gained point.";
    		announce "MVP Watcher: "+strcharinfo(0) +" and the "+strcharinfo(1) +" party have killed Naght Sieger for 50 DaedaRO point/s!",0,0x38ACEC;
    	}
    	else{
    set #CASHPOINTS, #CASHPOINTS + 50;
    dispbottom "You have gained 50 DaedaRO point/s. Total is "+ #CASHPOINTS +" DaedaRO points.";
    announce "MVP Watcher: " +strcharinfo(0) +" has just killed " +getmonsterinfo(killedrid,0) +" for 50 DaedaRO point/s!",0,0x38ACEC;
    end;
    }
    }
    }
    

     

    Will this work on eA?

  10. How can i make the script check if the player has a party or not?

     

    OnNPCKillEvent:
    if (killedrid == 1832)	{ // IFRIT
    set #CASHPOINTS, #CASHPOINTS + 95;
    dispbottom "You have gained 95 DaedaRO point/s. Total is "+ #CASHPOINTS +" DaedaRO points.";
    announce "MVP Watcher: " +strcharinfo(0) +" has just killed " +getmonsterinfo(killedrid,0) +" for 95 DaedaRO point/s!",0,0x38ACEC;
    end;
    }
    }
    

    this is what im using for ifrit right now.

    how can i make so that it will check if i the killer has a party or not.

    if the killer has a party, the points will be divided among the members equally.

     

     

     

    BTW i'm using eA
×
×
  • Create New...