Jump to content
  • 0

Mob Suits


Super Arki

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  30
  • Reputation:   0
  • Joined:  10/25/15
  • Last Seen:  

I'm having difficulties in adding scripts in item_db.

 

The effect of suit is "+100 Str, Agi, Int, Dex and Disguise into a Mob.

 

For example disguise into ifrit.

 

what script will i use after this

 

bonus bStr,100; bonus bAgi,100; bonus bInt,100; bonus b;Dex,100

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

In the end of each item, there is three {} for scripting.
The first one, for Bonuses, and the second and third one are OnEquip_Script and OnUnequip_Script, which are called when the players put on or put off an Equipment.

So, if you want the Player to turn into Ifrit when equip and Item, just put:

disguise 1832;

On the second {} (where 1832 is the Ifrit's ID), and:

undisguise;

On the third {}.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  387
  • Reputation:   60
  • Joined:  10/08/13
  • Last Seen:  

more reference for item_db.txt

 

https://github.com/rathena/rathena/blob/master/doc/item_db.txt

 

 

Item bonus

*transform <monster ID>,<duration>,<sc type>{,<val1>,<val2>,<val3>,<val4>};
*transform "<monster name>",<duration>,<sc type>{,<val1>,<val2>,<val3>,<val4>};

This command will turn a player into a monster for a given duration and grants an
SC attribute effect while transformed. Note that players cannot be transformed
during War of Emperium or if already disguised.
Can only be removed when you die or the duration ends.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  30
  • Reputation:   0
  • Joined:  10/25/15
  • Last Seen:  

THANKS! SOLVED! LOVE YOU GUYS.

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...