Jump to content

ayre

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

ayre's Achievements

Poring

Poring (1/15)

1

Reputation

  1. Is it possible to change the variable casting time from 80% to 100%, removing that fixed time of 20%? I tried changing the formula in skill.c from to I have max stats, 255 and it doesn't seem to change much.
  2. Server Edit: When adding your item to the itemDB, make sure you define the amount of slots which is after Range and before Job in the structure. Client Side Edit: Depending on your client, you need to edit a txt or lua/lub file. Clients that use txt files http://rathena.org/wiki/Custom_Items#Defining_Items_clientside_.28Renewal_Clients_.3C.3D_2012-04-10a_.26_Main_Clients_.3C.3D_2012-07-10a.29 Clients that use the lua/lub files http://rathena.org/wiki/Custom_Items#Defining_Items_Clientside_.28For_New_Clients.29
  3. You do know you don't need the second if statement on each case. You're already checking for the items in the first if statement. Your zeny check is the wrong way. You have it as: If you have more than or equal to 10000000, it's going to reject you. You want it t o actually mean, if you have less than X zeny, reject user. This is the correct script based off your work. This one works on my server when I was testing it. invek,145,165,3 script Bossnia Guard 123,{ set .@name$,"[Bossnia Guard]"; mes .@name$; mes "What level of Bossnia do you want to enter?"; next; switch(select("Bossnia1:Bossnia2:Bossnia3:Bossnia4")){ case 1: mes .@name$; mes "Ok then,"; mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000.."; next; mes "Ow you already have them!"; if (countitem(7321) <10 || Zeny < 100000000 ) { mes .@name$; mes "Sorry you don't have enough zeny or you don't have the required items"; } else { delitem 7321,10; set Zeny, Zeny-100000000; warp "bossnia_01",203,203; } close;break; case 2: mes .@name$; mes "Ok then,"; mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000.."; next; mes "Ow you already have them!"; if (countitem(7321) <10 || Zeny < 100000000 ) { mes .@name$; mes "Sorry you don't have enough zeny or you don't have the required items"; } else { delitem 7321,10; set Zeny, Zeny-100000000; warp "bossnia_02",203,203; } close; break; case 3: mes .@name$; mes "Ok then,"; mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000.."; next; mes "Ow you already have them!"; if (countitem(7321) <10 || Zeny < 100000000 ) { mes .@name$; mes "Sorry you don't have enough zeny or you don't have the required items"; } else { delitem 7321,10; set Zeny, Zeny-100000000; warp "bossnia_03",203,203; } close; break; case 4: mes .@name$; mes "Ok then,"; mes "First you need to pay me 100,000,000z and bring me ^ff000010 Crystal Fragments^000000.."; next; mes "Ow you already have them!"; if (countitem(7321) <10 || Zeny < 100000000 ) { mes .@name$; mes "Sorry you don't have enough zeny or you don't have the required items"; } else { delitem 7321,10; set Zeny, Zeny-100000000; warp "bossnia_04",203,203; } close; break; } }
  4. Check the map-server console and see if there are any error messages.
  5. Is it possible to move the cash shop button or atleast be able to toggle it on/off? I know you can assign a hotkey to open and close the cashshop window
×
×
  • Create New...