Need help, hope someone could help me make this script work for rathena.
i'm already make some changes, but still can't make the script work. please help.
here the script.
Spoiler
//===== Hercules Script ======================================================//= Quest for Zodiac Headgeards
//=====By:==================================================================//= Ridley
//===== Current Version:=====================================================//=1.0//=====Description:=========================================================//= Rotates each month. January (Capricorn) to December (Sagittarius)//= Counts and displays required items and how much you miss
//= Player can choose to make diadem or crown
//============================================================================
prontera,155,181,5 script Zodiac#hats 4_F_PINKWOMAN,{
mes("[Zodiac of the Month]");
mes("Hello there, I am in charge of the Zodiac items. Please select which Zodiac item you are interested in.");
if (select("Zodiac Diadem","Zodiac Crown")==1){
function Zodiac;
setarray .Zodiac[0], Capricon_Diadem, Aquarius_Diadem, Pisces_Diadem, Aries_Diadem, Taurus_Diadem, Gemini_Diadem, Cancer_Diadem, Leo_Diadem, Virgo_Diadem, Libra_Diadem, Scorpio_Diadem, Sagittarius_Diadem;} else {
function Zodiac;
setarray .Zodiac[0], Capricon_Crown, Aquarius_Crown, Pisces_Crown, Aries_Crown, Taurus_Crown, Gemini_Crown, Cancer_Crown, Leo_Crown, Virgo_Crown, Libra_Crown, Scorpio_Crown, Sagittarius_Crown;}
next;
mes("[Zodiac of the Month]");
mes("Would you like to make 1 ^FF0000%s^000000 for the %dth Month of this year ?", getitemname (.Zodiac[gettime(6)-1]));
next;
if (select("Yes","No")==2)
close;
switch (gettime(6)){//(Item,Amount, Item,Amount,..);
case 1: Zodiac(7511,300,2256,1, Goat_Card,1,7107,100,7106,100);
break;
case 2: Zodiac(7511,300,"Aqua_Elemental_Card",1,"Crystalized_Teardrop",100,"Water_Of_Darkness",20,"Holy_Water",50);
break;
case 3: Zodiac(7511,300,"Lip_Of_Ancient_Fish",100,"Fisherman's_Dagger",1,"Sword_Fish_Card",1,"Water_Of_Darkness",50);
break;
case 4: Zodiac(7511,300,2256,1,"Book_Of_Blazing_Sun_",1,7107,100,7106,100);
break;
case 5: Zodiac(7511,300,"Nose_Ring",100,"Hammer_Of_Blacksmith",10,"Majoruros_Card",1,"Minorous_Card",1);
break;
case 6: Zodiac(7511,300,"Twinhorn_Helm",100,"Book_Of_Gust_Of_Wind_",1,"Rough_Wind",15,"Windhawk",1);
break;
case 7: Zodiac(7511,300,960,100,991,50,943,100,4049,1);
break;
case 8: Zodiac(7511,300,"Tiger_Footskin",1,"Horn_Of_Hilsrion",100,"Hilsrion_Card",1,"Horn_Of_Hilthrion",1);
break;
case 9: Zodiac(7511,300,"Skirt_Of_Virgin",1,"Kiss_Of_Angel",1,"Angel's_Arrival",1,"Angel's_Warmth",1,"Angel's_Safeguard",1,"Angel's_Protection",1,"Angelic_Chain",1);
break;
case 10: Zodiac(7511,300,"Whip_Of_Balance",1,"Prohibition_Red_Candle",1,"Red_Feather",50,"Injustice_Card",1);
break;
case 11: Zodiac(7511,300,"Scorpion_Card",1,"Scorpion's_Tail",100,"Scropion's_Nipper",100);
break;
case 12: Zodiac(7511,300,"Piece_Of_Darkness",50,"Veteran_Axe",1,"Burning_Bow",1,"Burning_Heart",100);
break;}
mes("[Zodiac of the Month]");
mes("Awesome! Here you go. You gained ^FF0000%s^000000 for this month!", getitemname (.Zodiac[gettime(6)-1]));
getitem .Zodiac[gettime(6)-1],1;
close;
function Zodiac {
mes "[ ^0000FF Required Items ^000000 ]";
mes "^FFFFFF________________________________^000000";
for (@i =0; getarg(.@i,0);.@i+=2){
mes(((countitem(getarg(.@i))< getarg(.@i +1))?"^FF0000":"^0000FF")+"[ %d / %d ] ^0000FF%s^000000", countitem(getarg(.@i)), getarg(.@i +1), getitemname(getarg(.@i)));
if (countitem(getarg(.@i))< getarg(.@i +1)).@j++;}
mes("^FFFFFF________________________________^000000");
if (.@j){
mes("[ ^FF0000Await completion for %d Items^000000 ]",.@j);
close;}
next;
if (select("^FF0000Continue^000000","Cancel")==2) close;
for(.@i =0; getarg(.@i,0);.@i+=2)
delitem getarg(.@i), getarg(.@i +1);
return;}}
Question
hendra814
Need help, hope someone could help me make this script work for rathena.
i'm already make some changes, but still can't make the script work. please help.
here the script.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.