Jump to content

-SkittleNugget-

Members
  • Posts

    318
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by -SkittleNugget-

  1. Well, he said he didn't do it, there is more than one person with the same username I guess.

    Provide more details.

    Facebook, age, location, skype username/email

  2. A prize for donating to the "church" ?

     

    Under what conditions do you want the prize to be given ?.


    Here I rewrote the script so it easier to understand.

     // ================ rAthena Script ==================================================
     // ============== Information =======================================================
     // = iRO Daily Quest : Church Donation
     // = Made by :
     // = Rikimaru
     //===== Current Version: ===============================================
     //= 1.3
     //===== Compatible With: ===============================================
     //= any rAthena SVN
     //===== Description: ===================================================
     //= The iRO Daily Quest : Church Donation
     //= Usefull for having fun in a Server with a Mini Quest
     //= Has a counter of 24 Hours until the Players can do the Quest agian.
     //===== Additional Comments: ===========================================
     //= 1.1 Finished adding the stats food effects. [Rikimaru]
     //= 1.2 Fixed a few Bugs in the Script [Rikimaru]
     //= 1.3 Rewrote the script to make it easier to work with, //-SkittleNugget-
     //======================================================================
    
     prontera,165,191,3	script	[Quest] Church Worker	790,{
    
    	 if(gettimetick(2) - donatedalready < (60 * 60 * 24)) {
    		 mes "^0000FF[ [Quest] Church Worker ]^000000";
    		 mes "Sorry,but you have to wait 24 Hours,before you";
    		 mes "can do the Quest again!";
    		 close;
    	 }
     
    	if (BaseLevel<60){ 
    		mes "^0000FF[ [Quest] Church Worker ]^000000"; 
    		mes "Hello,you can use my Service,"; 
    		mes "when you're at least Baselevel 60"; 
    		close;
    	}
    	else if (BaseLevel<80) {callsub Buff,40000,80000,50000,5; }
    	else if (BaseLevel<96) {callsub Buff,80000,200000,60000,6; }
    	else if (BaseLevel<99) {callsub Buff,200000,400000,100000,7; }
    
    	Buff:	//Buff, Zeny, BaseEXP, JobEXP, Food.
    		mes "^0000FF[ [Quest] Church Worker ]^000000";
    		mes "Hello "+strcharinfo(0)+",do";
    		mes "you want to get special";
    		mes "Buffs for "+getarg(0)+" Zenny?";
    		next;
    		switch(select("Yes,No")==2) {
    			close;
    		}
    		mes "^0000FF[ [Quest] Church Worker ]^000000";
    		mes "Let me check everything.";
    		next;
    		if(Zeny < getarg(0)) {
    			mes "^0000FF[ [Quest] Church Worker ]^000000";
    			mes "Sorry,but you need more Zeny!";
    			close;
    		}
    		set Zeny,Zeny - getarg(0);
    		set BaseExp,getarg(1);
    		set JobExp,getarg(2);
    		sc_start SC_STRFood,180000,getarg(3);
    		sc_start SC_AGIFood,180000,getarg(3);
    		sc_start SC_VITFood,180000,getarg(3);
    		sc_start SC_INTFood,180000,getarg(3);
    		sc_start SC_DEXFood,180000,getarg(3);
    		sc_start SC_LUKFood,180000,getarg(3);
    		set donatedalready,gettimetick(2);
    		mes "^0000FF[ [Quest] Church Worker ]^000000";
    		mes "Okay,thank you and have fun!";
    		close;
    }
    

    church_donation.txt

    • Upvote 1
×
×
  • Create New...