Super Arki Posted October 29, 2015 Group: Members Topic Count: 18 Topics Per Day: 0.01 Content Count: 30 Reputation: 0 Joined: 10/25/15 Last Seen: March 28, 2020 Share Posted October 29, 2015 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 Quote Link to comment Share on other sites More sharing options...
Haziel Posted October 30, 2015 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 609 Joined: 11/25/11 Last Seen: March 7 Share Posted October 30, 2015 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 {}. Quote Link to comment Share on other sites More sharing options...
Elsa Mist Posted October 30, 2015 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 387 Reputation: 60 Joined: 10/08/13 Last Seen: July 14, 2022 Share Posted October 30, 2015 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. Quote Link to comment Share on other sites More sharing options...
Super Arki Posted October 31, 2015 Group: Members Topic Count: 18 Topics Per Day: 0.01 Content Count: 30 Reputation: 0 Joined: 10/25/15 Last Seen: March 28, 2020 Author Share Posted October 31, 2015 THANKS! SOLVED! LOVE YOU GUYS. Quote Link to comment Share on other sites More sharing options...
Question
Super Arki
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.