sader1992 Posted September 15, 2019 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 4 hours ago Share Posted September 15, 2019 View File [UnOfficial] Skyfortress Drop/reroll enchantment Functions README FIRST! those are UnOfficial there is 2 main scripts the first one (you need to add it first to your .conf file) SkyFortress_Functions this have the main functions HEADER >> (read it before you use the script) Spoiler //===== rAthena Script ======================================= //= Sky Fortress Enchantment Functions //===== By: ================================================== //= Sader1992 //https://rathena.org/board/profile/30766-sader1992/ //===== Changelogs: ========================================== //= 1.0 First version. //============================================================ //SkyFortressWeapon(<itemid>{,<identify>{,<keep>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<RandomIDArray>,<RandomValueArray>,<RandomParamArray>}}}); //------ //<keep>: the number of the enchantment you want to keep (1,2,3) , 4 if you want to reroll all. //if not reroll , you can just 'SkyFortressWeapon(<itemid>);' //will give the player an enchanted weapon id //============================================================ //SkyFortressMonster(<Monster ID>); //------ //this return a random weapon that drop from that monster! //============================================================ //SkyFortressDrop(<Monster ID>); //------ //this function is a shurtcut to give the player the item on mob kill event //you can add in the mob kill event something like //SkyFortressDrop(killedrid); //the chance of drop is the global variable '$SKYFORTRESS_CHANCE'% //so all you need to change the drop chance for example to 5% //in game do this command //@set $SKYFORTRESS_CHANCE 5 //this will make the drop chance for a weapon from the list is 5% //============================================================ the 2nd main file is SkyFortress_reroll this for the reroll npc this npc requir https://github.com/rathena/rathena/pull/4195 if you didn't apply this PR the npc will give you error! the 3rd file SkyFortress_Test is just for test , do not use it unless you want to test and edit the script to add the drop to your instance , you need to edit the instance script it self , as this not normal drop , it's on event kill drop. if you have problem with the script , you can use the forum post to report it to me, and me or someone else will help you fix it. Submitter sader1992 Submitted 09/15/2019 Category Utilities Video Content Author sader1992 3 Quote Link to comment Share on other sites More sharing options...
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.