Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. https://rathena.svn....m/jobmaster.txt if (select(" ~ Change into ^0055FF"+jobname(.@i)+"^000000 class: ~ ^777777"+((getargcount() > 1)?"Go back":"Cancel")+"^000000")==1) { mes "[Job Master]"; // Add: if (Class > 4049) { // Job is third class if (countitem(item1) < amount || countitem(item2)...) { mes "You will need these items to change into third class:"; mes "..."; close; } delitem item1, amount; delitem item2...; } mes "You are now "+A_An(jobname(.@i))+"!"; if (.@i==4001 && .LastJob) set lastJob, Class; jobchange .@i;
  2. The only line that can overflow is this one: getexp (getmonsterinfo(killedrid,3) * .BonusEXP / 100), (getmonsterinfo(killedrid,4) * .BonusEXP/100); getexp multiplies parameters by the quest_exp_rate setting, so that's probably where you're getting the huge numbers. Try rand(2,3) instead of rand(15,30); it'll save a power of ten, and is close enough.
  3. Euphy

    Quest NPC

    This question has been answered many times in my topic already. The point of categories is not to duplicate the entire script, but if you need, find & replace the word "qshop" with any other shop name.
  4. Or, shorter, { if (Class > 4052 && BaseClass == Job_Swordman) bonus bMaxHPrate,180; else bonus bMaxHPrate,100; bonus bDefRate,-50; bonus bMdefRate,-50; },{},{}
  5. Search src\map\battle.c for LK_SPIRALPIERCE, then change the damage formula (there are two different ones for RE/pre-RE, so be sure to edit the right one).
  6. Euphy

    novice suit

    {},{ changebase 0; },{ changebase Class; } http://rathena.org/wiki/Custom_Items
  7. Have you read the article? o.o
  8. You have to add it. Adding_a_Script
  9. You want the motd file announced every time a player logs in...? - script gmotd -1,{ OnPCLoginEvent: atcommand "@gmotd"; end; }
  10. Euphy

    Cant Deal

    You're not using rAthena. eAthena/3CeAM don't use group_id.
  11. They'd be useful if they contained more information, particularly regarding installation.
  12. Euphy

    item Serial

    This is being discussed; it may be added to the SVN in the future.
  13. Is this being worked on, or why not?
  14. Because they're not in your mob database... make sure you're adding it to the right file (pre-re or re, depending on your configuration).
  15. Oh, sorry. The GX quest isn't written yet, either - here's the bug report for it: bugreport:5834.
  16. There aren't any problems with having lots of code in item scripts. I'd suggest doing that instead of calling a function whenever possible, so that the script will actually load with the item (this way you don't have to reload scripts and item database when making changes).
  17. Euphy

    Re-balance?

    Renewal Attack formulas are not fully implemented; theoretically it should fix most of the problems with overpowered skills.
  18. The Archbishop quest is still very iffy, and we don't have the Kagerou/Oboro quest just yet. Everything else should be working without problems.
  19. Euphy

    Re-balance?

    You could try: http://rathena.org/board/topic/62238-manage-skill-damage-11/
  20. http://rathena.org/board/topic/65197-capture-the-flag/page__st__20#entry140053 Please don't duplicate posts.
  21. MVP Ladder updated to v1.3. There will be no further updates to that script because it's too difficult to edit.
  22. Oh, never mind, getiteminfo doesn't retrieve View ID for some reason... o.o You'll have to use getiteminfo(x,11) then, but it requires multiple checks. See Toasty's item preview script for an example: http://sushiduy.plesk3.freepgs.com/ROScripts/preview_v101.txt
  23. There is no command to unbind an item, so you'd need to get the exact item data and use delitem2 + getitem2/getitembound2. Use any variable to store a password.
×
×
  • Create New...