Jump to content
  • 0

How to activate random options to all the equips my players drop on my pre-renewal server


Peeroco

Question


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  02/08/25
  • Last Seen:  

Guys, i'm having trouble to activate random options to all the equips my players drop on my pre-renewal server.

I've been all way thorugh item_randomopt_db and item_randomopt_db, but its not working.

I made this npc to debug if my server and client were handling well the random options, and it's working fine (I get my ghost knife)

setarray .@OptID[0],RDMOPT_WEAPON_ATTR_TELEKINESIS;
    setarray .@OptVal[0],0;
    setarray .@OptParam[0],0;
    getitem3 1202,1,1,9,0,0,0,0,0,.@OptID,.@OptVal,.@OptParam;

i even modified a poring to try the random options knife drop, but didn't work:

mob_db.yml

- Id: 1002
    AegisName: PORING
    Name: Poring
    Level: 1
    Hp: 50
    BaseExp: 2
    JobExp: 1
    Attack: 7
    Attack2: 10
    MagicDefense: 5
    Int: 0
    Dex: 6
    Luk: 30
    AttackRange: 1
    SkillRange: 10
    ChaseRange: 12
    Size: Medium
    Race: Plant
    Element: Water
    ElementLevel: 1
    WalkSpeed: 400
    AttackDelay: 1872
    AttackMotion: 672
    ClientAttackMotion: 288
    DamageMotion: 480
    Ai: 02
    Drops:
      - Item: Jellopy
        Rate: 7000
      - Item: Knife_
        Rate: 100
        RandomOptionGroup: ILL_PHYSIC_NORMAL
      - Item: Sticky_Mucus
        Rate: 400
      - Item: Apple
        Rate: 1000
      - Item: Empty_Bottle
        Rate: 1500
      - Item: Apple
        Rate: 150
      - Item: Unripe_Apple
        Rate: 20
      - Item: Poring_Card
        Rate: 1
        StealProtected: true
 
Can anyone help pls =)
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  02/08/25
  • Last Seen:  

Can someone close this? Solved.

Did nothing different from what i wrote, but drop came 😃

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...