Jhedzkie Posted May 7, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 298 Reputation: 15 Joined: 11/17/11 Last Seen: February 18 Share Posted May 7, 2013 help please. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 7, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 7, 2013 skill CustomSkillID,1,0; Quote Link to comment Share on other sites More sharing options...
Jhedzkie Posted May 7, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 298 Reputation: 15 Joined: 11/17/11 Last Seen: February 18 Author Share Posted May 7, 2013 custom skill gets reset(unlearned) when Reset Girl is used while other quest skills remain learned in the skill tree. Quote Link to comment Share on other sites More sharing options...
Boom Posted May 7, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 182 Reputation: 22 Joined: 12/30/12 Last Seen: February 20, 2017 Share Posted May 7, 2013 skill CustomSkillID,1,0; What file does this entry should be placed? Quote Link to comment Share on other sites More sharing options...
Jhedzkie Posted May 7, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 298 Reputation: 15 Joined: 11/17/11 Last Seen: February 18 Author Share Posted May 7, 2013 skill CustomSkillID,1,0; What file does this entry should be placed? on an npc script, obviously? ex. Platinum Skill Npc. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 7, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 7, 2013 @Jhedzkie Try adding your custom skill at trunk/db/re/skill_tree.txt Quote Link to comment Share on other sites More sharing options...
Jhedzkie Posted May 7, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 298 Reputation: 15 Joined: 11/17/11 Last Seen: February 18 Author Share Posted May 7, 2013 (edited) @Jhedzkie Try adding your custom skill at trunk/db/re/skill_tree.txt skill_db.txt 1501,0,6,4,0,0x1,0,10,1,no,0,0x1,0,weapon,0, ALL_INFINITEAMMO,Infinite Ammo notice that i already set the inf2 value into 0x1 (0x0001- quest skill) but still, i wasnt able to make it work properly. skill_tree.txt 3,1501,1,0,0,0,0,0,0,0,0,0,0 //ALL_INFINITEAMMO#Infinite Ammo# and yes, I already did set it too in the skill_tree.txt as well as the necessary lua modifications. Edited May 7, 2013 by Jhedzkie Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 7, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 7, 2013 Infinite Ammo Skill? Does it mean; no arrows/ammo wil consumed when using bow and gun? Quote Link to comment Share on other sites More sharing options...
Jhedzkie Posted May 7, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 298 Reputation: 15 Joined: 11/17/11 Last Seen: February 18 Author Share Posted May 7, 2013 Infinite Ammo Skill? Does it mean; no arrows/ammo wil consumed when using bow and gun? yes, why? O.o Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 7, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 7, 2013 I think there's another way to disable ammo/arrows consumed. trunk/conf/battle/battle.conf // Are arrows/ammo consumed when used on a bow/gun? // 0 = No // 1 = Yes // 2 = Yes even for skills that do not specify arrow consumption when said // skill is weapon-based and used with ranged weapons (auto-guesses which // skills should consume ammo when it's acquired via a card or plagiarize) arrow_decrement: 1 Quote Link to comment Share on other sites More sharing options...
Jhedzkie Posted May 7, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 298 Reputation: 15 Joined: 11/17/11 Last Seen: February 18 Author Share Posted May 7, 2013 I think there's another way to disable ammo/arrows consumed. trunk/conf/battle/battle.conf // Are arrows/ammo consumed when used on a bow/gun? // 0 = No // 1 = Yes // 2 = Yes even for skills that do not specify arrow consumption when said // skill is weapon-based and used with ranged weapons (auto-guesses which // skills should consume ammo when it's acquired via a card or plagiarize) arrow_decrement: 1 i think you're getting off topic. i pretty much know about that, but i made it into a skill. skill's working well. period. the problem is in setting the skill i made act as a quest skill so that my players could avail it by doing series of quests. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 7, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 7, 2013 I know, so what's the problem with that? The reset npc only right? Quote Link to comment Share on other sites More sharing options...
Jhedzkie Posted May 7, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 298 Reputation: 15 Joined: 11/17/11 Last Seen: February 18 Author Share Posted May 7, 2013 (edited) The problem is, that my custom skill, is supposed to act like all other quest skills. that once learned, should not be reset even when the skill reset is used.HOWEVER, in my current setup, after doing basic stuff, I am not able to make my custom skill INTO a QUEST SKILL. that is why i am asking how to properly add my custom skill as a quest skill. Edited May 7, 2013 by Jhedzkie Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 7, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 7, 2013 The problem is, that my custom skill, is supposed to act like all other quest skills. that once learned, should not be reset even when the skill reset is used. HOWEVER, in my current setup, after doing basic stuff, I am not able to make my custom skill INTO a QUEST SKILL. that is why i am asking how to properly add my custom skill as a quest skill. Try to max all your 1st job skill after using reset npc(I tried it in my test server just now and it works fine). Quote Link to comment Share on other sites More sharing options...
Jhedzkie Posted May 7, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 298 Reputation: 15 Joined: 11/17/11 Last Seen: February 18 Author Share Posted May 7, 2013 The problem is, that my custom skill, is supposed to act like all other quest skills. that once learned, should not be reset even when the skill reset is used. HOWEVER, in my current setup, after doing basic stuff, I am not able to make my custom skill INTO a QUEST SKILL. that is why i am asking how to properly add my custom skill as a quest skill. Try to max all your 1st job skill after using reset npc(I tried it in my test server just now and it works fine). Do you have your own custom skill to test it with? Create an archer. But don't go gaining job levels just yet. Go to the Platinum Skill NPC and learn the Platinum Skills. Take a good hard look at the 'Making Arrow' skill or 'Charge Arrow' skill of the Archer class. Gain some job levels and put levels on some skills, then go to your Reset Girl and reset your skills. Now take a good hard look again at the Making Arrow and Charge Arrow skills. Notice that all other skills have been unlearned except for those two platinum skills. And incidentally, that is exactly how I want my custom skill to act. Just like any other platinum skills. And that is what I've only been asking all these time. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted May 7, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted May 7, 2013 Yes, I tested it in my custom skill. Try this other way to keep the quest skill on the skill tree. //===== rAthena Script ======================================= //= Reset NPC //===== By: ================================================== //= rAthena Dev Team //===== Current Version: ===================================== //= 1.3 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= Resets skills, stats, or both. //===== Additional Comments: ================================= //= 1.0 First Version //= 1.1 Optimized for the greater good. [Kisuka] //= 1.2 Cleaning [Euphy] //= 1.3 All statuses removed upon skill reset. [Euphy] //============================================================ prontera,150,193,4 script Reset Girl 124,{ set .@ResetStat,5000; // Zeny for stat reset set .@ResetSkill,5000; // Zeny for skill reset set .@ResetBoth,9000; // Zeny for resetting both together mes "[Reset Girl]"; mes "I am the Reset Girl."; mes "Reset Stats: "+ .@ResetStat +"z"; mes "Reset Skills: "+ .@ResetSkill +"z"; mes "Reset Both: "+ .@ResetBoth +"z"; mes "Please select the service you want:"; next; switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) { case 1: mes "[Reset Girl]"; if (Zeny < .@ResetSkill) { mes "Sorry, you don't have enough Zeny."; close; } set Zeny, Zeny-.@ResetSkill; sc_end SC_ALL; ResetSkill; if(Class == 3 || class == 24) skill 1501,1,0; mes "There you go!"; close; case 2: mes "[Reset Girl]"; if (Zeny < .@ResetStat) { mes "Sorry, you don't have enough Zeny."; close; } set Zeny, Zeny-.@ResetStat; ResetStatus; mes "There you go!"; close; case 3: mes "[Reset Girl]"; if (Zeny < .@ResetBoth) { mes "Sorry, you don't have enough Zeny."; close; } set Zeny, Zeny-.@ResetBoth; sc_end SC_ALL; ResetSkill; ResetStatus; if(Class == 3 || class == 24) skill 1501,1,0; mes "There you go!"; close; case 4: close; } } Quote Link to comment Share on other sites More sharing options...
Question
Jhedzkie
help please.
Link to comment
Share on other sites
15 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.