Jump to content

deniswalle96

Members
  • Posts

    30
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

deniswalle96's Achievements

Santa Poring

Santa Poring (3/15)

  • Dedicated
  • Reacting Well
  • First Post
  • Collaborator
  • Conversation Starter

Recent Badges

3

Reputation

2

Community Answers

  1. I kinda figured it out, but I still can't make the item drop on the coordinates where the monster died. Tried getunitdata, but no success. OnMonsterKilled: .@dropchance = rand(1,100); if(.@dropchance <= 5){ getmapxy(.@map$,.@x,.@y,BL_PC); setarray .@fateshard[0],1000258,1000259,1000260,1000261,1000262; .@randomshard = rand(getarraysize(.@fateshard)); makeitem (.@fateshard[.@randomshard]),1,.@map$,.@x,.@y; } dispbottom "Rand: "+.@dropchance; } Also, since i'm a complete newbie at scripting, I still don't understand the different scopes of variables, can you enlight me on this one?I've read the doc/script_commands.txt file, but it's not clear to me. Like, when should I use ".@" vs "." var?
  2. I have a question regarding how is 'AttackDelay' value determined in mob_db For example, mob id 1634 has AttackDelay: 76 AttackMotion: 384 The ASPD value displayed in divine-pride.net refers to AttackMotion (1000/X) = aMotion. How is the 'AttackDelay' value calculed?
  3. Given a list of for example, 5 items, is it possible to add them to the drop list of a mob, but in a way that only one of them has a chance to drop when the mob is killed?
  4. I'm trying to create a simple script to display some battle_conf information when a players logs-in, but I need to make it so that instead of displaying the original value, it shows n/100. For example, base_exp_rate should display "3" instead of "300", how can I achieve that? - script motd -1,{ OnPCLoginEvent: announce "EXP - Base: "+getBattleFlag("base_exp_rate")+"% / Job: "+getBattleFlag("job_exp_rate")+"%"+"\n"+"Drop - General: "+getBattleFlag("item_rate_common")+"% Cards: "+getBattleFlag("item_rate_card")+"%",bc_self; end; }
  5. Yes, no errors here. There's something missing in your kRO's data.grf most likely Delete your client folder, extract again, and try updating your data.grf with Ai4rei's patcher https://nn.ai4rei.net/dev/rsu/
  6. Any custom grf? How is your data.ini file? Did you pack llchrisll's english translation into your custom grf? https://github.com/llchrisll/ROenglishRE
  7. Missing lua files. Is your data.grf updated? It could also be a langtype issue. Diff your client with "Always load korea ExternalSettings lua file" patch and see whether it fixes the error
  8. I think that's your problem, the status label is out of the frame Try setting it to 498
  9. What about completely? All 4th jobs precisely.
  10. Should be enabled by default src/config/renewal.hpp Comment this line if it's uncommented //quick option to disable all renewal option, used by ./configure //#define PRERE Uncomment this line if it's commented /// Leave this line to enable renewal specific support such as renewal formulas #define RENEWAL
  11. I mean in a way that they don't even appear when using @job command. Is there any check for it or do I need to modify multiple source files?
  12. oh I see, I must add the values in hex, not decimal.
×
×
  • Create New...