Added official kRO Skill Reset Event
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9236 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
0281e5c41b
commit
b002ead476
@ -33,6 +33,8 @@ KarLaeda
|
|||||||
|
|
||||||
Date Added
|
Date Added
|
||||||
======
|
======
|
||||||
|
11/17
|
||||||
|
* Added official kRo&idRO Skill Reset Event, thanks to $ephiroth [Lupus]
|
||||||
11/16
|
11/16
|
||||||
* Fixed wrong label name in adoption NPC [KarLaeda]
|
* Fixed wrong label name in adoption NPC [KarLaeda]
|
||||||
* Added official Ninja Job quest! Thanks to Legionaire for translation [Lupus]
|
* Added official Ninja Job quest! Thanks to Legionaire for translation [Lupus]
|
||||||
|
103
npc/events/event_skill_reset.txt
Normal file
103
npc/events/event_skill_reset.txt
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
//===== eAthena Script =======================================
|
||||||
|
//= Official Skill Resetter Event in Yuno (kRO & idRO)
|
||||||
|
//===== By: ==================================================
|
||||||
|
//= $ephiroth
|
||||||
|
//===== Current Version: =====================================
|
||||||
|
//= 1.01
|
||||||
|
//===== Compatible With: =====================================
|
||||||
|
//= eAthena 1.0
|
||||||
|
//===== Description: =========================================
|
||||||
|
//= 2006 - Edition Skill Reset NPC
|
||||||
|
//= 2006/11/16: 1.0 Release and fully working. [$ephiroth]
|
||||||
|
//= 1.01 Checked, fixed typos, now uses MISC_QUEST var [Lupus]
|
||||||
|
//============================================================
|
||||||
|
yuno.gat,138,187,4 script Hypnotist Teacher 124,{
|
||||||
|
set @npcname$,"[Hypnotist]";
|
||||||
|
mes @npcname$;
|
||||||
|
|
||||||
|
if(MISC_QUEST & 1024){
|
||||||
|
mes "I already told you that you may only complete this event once.";
|
||||||
|
close;
|
||||||
|
}
|
||||||
|
if(BaseLevel < 60) {
|
||||||
|
mes "Please return when you reach BaseLv 60 or higher.";
|
||||||
|
close;
|
||||||
|
}
|
||||||
|
if(SkillPoint != 0) {
|
||||||
|
mes "You will need to use up all of your skill points if you want me to continue.";
|
||||||
|
mes "Please come again soon!";
|
||||||
|
close;
|
||||||
|
}
|
||||||
|
if(Weight || checkfalcon(0) || checkcart(0) || checkriding(0)) {
|
||||||
|
mes "Would you like to reset skills?";
|
||||||
|
mes "I'm sorry, but...";
|
||||||
|
next;
|
||||||
|
mes @npcname$;
|
||||||
|
if(Weight) {
|
||||||
|
mes "You cannot reset skills";
|
||||||
|
mes "when you keep";
|
||||||
|
mes "any items.";
|
||||||
|
} else if(checkcart(0))
|
||||||
|
mes "Please, drop your cart and we'll continue.";
|
||||||
|
else if(checkfalcon(0))
|
||||||
|
mes "Please, free your Falcon and we'll continue.";
|
||||||
|
else if(checkriding(0))
|
||||||
|
mes "Please, free your PecoPeco and we'll continue.";
|
||||||
|
next;
|
||||||
|
mes @npcname$;
|
||||||
|
mes "Come back soon!";
|
||||||
|
close;
|
||||||
|
}
|
||||||
|
mes "Hello, I am the Skill Resetter.";
|
||||||
|
mes "Your name is ^0080FF"+strcharinfo(0)+"^000000.";
|
||||||
|
mes "How can I help you?";
|
||||||
|
next;
|
||||||
|
menu "^009500Information about Reset skills.^000000",L_Info,"^00B6FFReset skills.^000000",L_Reset,"^000088Nevermind^000000",-;
|
||||||
|
|
||||||
|
mes @npcname$;
|
||||||
|
mes "You know where to find me,";
|
||||||
|
mes "if you ever want a reset!!";
|
||||||
|
close;
|
||||||
|
|
||||||
|
L_Info:
|
||||||
|
mes @npcname$;
|
||||||
|
mes "This skill reset is not FREE OF CHARGE!!";
|
||||||
|
mes "Expense for the reset of skill is ^D5A50020000 Zeny x BaseLv^000000.";
|
||||||
|
next;
|
||||||
|
mes @npcname$;
|
||||||
|
mes "Oh yeah, one more thing!";
|
||||||
|
mes "Any carts, falcon or peco's you have equiped,";
|
||||||
|
mes "will be removed if you will reset your skills.";
|
||||||
|
next;
|
||||||
|
mes @npcname$;
|
||||||
|
mes "Just one time does again to shake the skill point";
|
||||||
|
mes "Careful with your skills from here on.";
|
||||||
|
close;
|
||||||
|
|
||||||
|
L_Reset:
|
||||||
|
mes @npcname$;
|
||||||
|
mes "Before skill reset in starting.";
|
||||||
|
mes "You shall have to first tell me your Base Level.";
|
||||||
|
next;
|
||||||
|
mes "^D5A500[" + strcharinfo(0) + "]^000000";
|
||||||
|
mes "My Base level is ^AA00AALevel " + BaseLevel + "BaseLv.^000000";
|
||||||
|
next;
|
||||||
|
set @zeny,BaseLevel*20000;
|
||||||
|
mes @npcname$;
|
||||||
|
mes "Total zeny to the reset of skill amount ^529DFF" + @zeny + "Zeny^000000 for the skill reset service.";
|
||||||
|
next;
|
||||||
|
if(Zeny < @zeny) {
|
||||||
|
mes @npcname$;
|
||||||
|
mes "It seems that you don't have enough money.";
|
||||||
|
mes "In addition we wait for the opportunity.";
|
||||||
|
emotion e_hmm;
|
||||||
|
close;
|
||||||
|
}
|
||||||
|
set Zeny, Zeny-@zeny;
|
||||||
|
set MISC_QUEST,MISC_QUEST | 1024;
|
||||||
|
resetskill;
|
||||||
|
mes @npcname$;
|
||||||
|
mes "Thank you.";
|
||||||
|
emotion e_thx;
|
||||||
|
close;
|
||||||
|
}
|
@ -3,7 +3,7 @@
|
|||||||
//===== By: ==================================================
|
//===== By: ==================================================
|
||||||
//= Legionaire
|
//= Legionaire
|
||||||
//===== Current Version: =====================================
|
//===== Current Version: =====================================
|
||||||
//= 1.1
|
//= 1.1a
|
||||||
//===== Compatible With: =====================================
|
//===== Compatible With: =====================================
|
||||||
//= eAthena SVN that supports Ninjas
|
//= eAthena SVN that supports Ninjas
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
@ -17,7 +17,7 @@
|
|||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|
||||||
que_ng.gat,30,65,3 script Cool Kid 730,{
|
que_ng.gat,30,65,3 script Cool Kid#nq 730,{
|
||||||
set @npcname$,"[Cool Kid]";
|
set @npcname$,"[Cool Kid]";
|
||||||
if(Class == Job_Novice && JobLevel > 9){
|
if(Class == Job_Novice && JobLevel > 9){
|
||||||
switch(NINJ_Q){
|
switch(NINJ_Q){
|
||||||
|
@ -74,6 +74,11 @@ Info: Lighthalzen. Cube Room Quest (Pass to Bio-Lab)
|
|||||||
How to set: set MISC_QUEST,MISC_QUEST | 512;
|
How to set: set MISC_QUEST,MISC_QUEST | 512;
|
||||||
How to check: if(MISC_QUEST & 512){}
|
How to check: if(MISC_QUEST & 512){}
|
||||||
|
|
||||||
|
Quest: Reset Skills Event
|
||||||
|
Info: Yuno, Hypnotist Teacher
|
||||||
|
How to set: set MISC_QUEST,MISC_QUEST | 1024;
|
||||||
|
How to check: if(MISC_QUEST & 1024){}
|
||||||
|
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
Variable: MISC_QUEST2
|
Variable: MISC_QUEST2
|
||||||
|
|
||||||
|
@ -164,6 +164,8 @@ npc: npc/kafras/kafras_new.txt
|
|||||||
//Official idRO Idul Fitri Event
|
//Official idRO Idul Fitri Event
|
||||||
//npc: npc/events/idul_fitri.txt
|
//npc: npc/events/idul_fitri.txt
|
||||||
//npc: npc/events/dumplingfestival.txt
|
//npc: npc/events/dumplingfestival.txt
|
||||||
|
//Official kRO, idRO Skill Reset Event
|
||||||
|
//npc: npc/events/skill_reset.txt
|
||||||
|
|
||||||
//A custom event for 3 holidays: X-Mas, Karachun and New Year
|
//A custom event for 3 holidays: X-Mas, Karachun and New Year
|
||||||
//Should be activated between 8 December and 8 January
|
//Should be activated between 8 December and 8 January
|
||||||
|
Loading…
x
Reference in New Issue
Block a user