Jump to content

Kouta

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

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

Kouta's Achievements

Drops

Drops (2/15)

  • One Month Later
  • First Post
  • Reacting Well
  • Conversation Starter
  • Week One Done

Recent Badges

1

Reputation

1

Community Answers

  1. Hey, guys! I was trying to modify a NPC dialog box size and found these codes into doc/script_commands.txt. But nothing happens when running them. There's anything that need to be done before using them? // Similar code to the one I was running prontera,160,160,5 NPC 850, { mes "[ NPC Name ]"; mes "test message"; setdialogsize(400, 400); // (x, y) setdialogalign(DIALOG_ALIGN_CENTER); end; } Thanks in advance.
  2. Just solved! Applied any percentage plus getequippercentrefinery(<equipped_slot>). Code Sample: Be aware that this code is not "NPC Script" structured! It's just a quote sample. // Example: Increase the Success Refining Chance by +10% getequippercentrefinery(EQI_ARMOR) + 10; // Example: Working Refine Chance Applied if ((getequippercentrefinery(EQI_ARMOR) + 10) > rand(100)) successrefitem EQI_ARMOR; // Do the equipped_slot dynamically through: setarray .@equippedParts[1], EQI_HEAD_TOP, EQI_HEAD_MID, EQI_HEAD_LOW, EQI_ARMOR, EQI_HAND_R, EQI_HAND_L, EQI_GARMENT, EQI_SHOES, EQI_ACC_R, EQI_ACC_L; // Create an array with all equipped items, except shadow ones for(.@i = 1; .@i <= getarraysize(.@equippedParts); .@i++) { if (getequipisequiped(.@equippedParts[.@i])) { .@menu$ = .@menu$ + F_getpositionname(.@equippedParts[.@i]); } } // .@selection will be the selected equip from the refine menu (.@selection is the dynamic equipped_slot variable). set .@selection, .@equippedParts[ select(.@menu$) ]; -- Solved!
  3. Hey, guys! There's a way to give refine chance bonus depending on condition to a player when refining with "NPC X"? Thanks in advance.
  4. Hey, guys! Does anyone have the script working for the "Personal Shopper Voucher (IDs: 23351, 23352, 23353)" items? I mean, when we go to these items in item_db_usable.yml, the Script tag is filled with "/* TODO */" and I didn't manage to get it working. The items are supposed to make a kind of "totem clone" of you that keeps activated the Buying Store skill where you put it and leave you free to go, and do whatever you want, regardless of whether the Buying Store is open. Thanks in advance.
  5. Geez.. I was searching for NoGemStone alias. Thank you so much, @Scanty! -- Solved.
  6. Hey, guys! Does anyone know where to find the main script file for bonus scripts of items, like cards bonuses scripts for example (tags: bonus, bonus2)? Something like the src/map/atcommand.cpp is. I was trying to figure out how the bonus bNoGemStone from Mistress Card works, to develop something similar with other skill tough. But I didn't find the main script file for this bonus. Thanks in advance. I appreciate any help!
  7. LMFAO I simply forgot to do the "false return" on vip and delete item. You're pretty right, @crazyarashi! Thank you so much. And thank you anyway, @Scanty! -- Solved.
  8. Hey, guys! Is there anyway to do this condition? Something like.. (Ignore the code itself, just sampling) if(vip_status(VIP_STATUS_ACTIVE)) { <No Consume Item X>; } I tried to do straight in item_db_usable.yml using the Flags step and testing on Yggdrasil, but nothing done. I did it in item_db_usable.yml using the Scripts step with getitem, but I really don't wanna have the item popping up on the screen every time it's used. I really appreciate the help! Ty in advance!
×
×
  • Create New...