Fixed (bugreport:5429) corrected requirements checking before job change to Minstrel.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15832 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
3bef55453a
commit
10c576102b
@ -4,7 +4,7 @@
|
|||||||
//= Masao
|
//= Masao
|
||||||
//= Credits: Muad_Dib
|
//= Credits: Muad_Dib
|
||||||
//===== Current Version: =====================================
|
//===== Current Version: =====================================
|
||||||
//= 1.0
|
//= 1.1
|
||||||
//===== Compatible With: =====================================
|
//===== Compatible With: =====================================
|
||||||
//= Any rAthena SVN
|
//= Any rAthena SVN
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
@ -12,6 +12,7 @@
|
|||||||
//= Job change Quest from Bard / Clown -> Minstrel.
|
//= Job change Quest from Bard / Clown -> Minstrel.
|
||||||
//===== Additional Comments: =================================
|
//===== Additional Comments: =================================
|
||||||
//= 1.0 First Version.
|
//= 1.0 First Version.
|
||||||
|
//= 1.1 Fix the checking of requirements before job change to Minstel - [JayPee]
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
alberta,196,133,4 script Bard#job_min 486,{
|
alberta,196,133,4 script Bard#job_min 486,{
|
||||||
@ -2492,31 +2493,14 @@ OnTouch:
|
|||||||
|
|
||||||
prt_in,94,172,4 script Karian#job_min3 480,{
|
prt_in,94,172,4 script Karian#job_min3 480,{
|
||||||
|
|
||||||
if ((Class >= 4023) && (Class <= 4045)){
|
if ((Class >= 4023) && (Class <= 4045)){
|
||||||
mes "[Karian]";
|
mes "[Karian]";
|
||||||
mes "Why... Why are you so little?";
|
mes "Why... Why are you so little?";
|
||||||
close;
|
close;
|
||||||
}
|
}
|
||||||
if(checkweight(1201,1) == 0){
|
if(job_min >= 27)
|
||||||
mes "^3355FFWait a minute! You're";
|
{
|
||||||
mes "carrying too many items";
|
if (job_min > 99){
|
||||||
mes "right now: store some of";
|
|
||||||
mes "your extra things in Kafra";
|
|
||||||
mes "Storage, and then come back.^000000";
|
|
||||||
close;
|
|
||||||
}
|
|
||||||
if (JobLevel < 50 || BaseLevel < 99){
|
|
||||||
mes "[Karian]";
|
|
||||||
mes "Hey... why are you so low?";
|
|
||||||
mes "How did you lose levels?";
|
|
||||||
close;
|
|
||||||
}
|
|
||||||
if (job_min == 27 || SkillPoint != 0){
|
|
||||||
mes "[Karian]";
|
|
||||||
mes "Hey... Don't you know how to use your skill points?";
|
|
||||||
mes "You should use them.";
|
|
||||||
close;
|
|
||||||
}else if (job_min > 99){
|
|
||||||
switch(select("Talk.:Leave.")){
|
switch(select("Talk.:Leave.")){
|
||||||
case 1:
|
case 1:
|
||||||
mes "[Maestro Song]";
|
mes "[Maestro Song]";
|
||||||
@ -2548,6 +2532,26 @@ prt_in,94,172,4 script Karian#job_min3 480,{
|
|||||||
end;
|
end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(checkweight(1201,1) == 0){
|
||||||
|
mes "^3355FFWait a minute! You're";
|
||||||
|
mes "carrying too many items";
|
||||||
|
mes "right now: store some of";
|
||||||
|
mes "your extra things in Kafra";
|
||||||
|
mes "Storage, and then come back.^000000";
|
||||||
|
close;
|
||||||
|
}
|
||||||
|
if (JobLevel < 50 || BaseLevel < 99){
|
||||||
|
mes "[Karian]";
|
||||||
|
mes "Hey... why are you so low?";
|
||||||
|
mes "How did you lose levels?";
|
||||||
|
close;
|
||||||
|
}
|
||||||
|
if (SkillPoint != 0){
|
||||||
|
mes "[Karian]";
|
||||||
|
mes "Hey... Don't you know how to use your skill points?";
|
||||||
|
mes "You should use them.";
|
||||||
|
close;
|
||||||
|
}
|
||||||
if (Class == Job_Bard || Class == Job_Clown){
|
if (Class == Job_Bard || Class == Job_Clown){
|
||||||
mes "[Karian]";
|
mes "[Karian]";
|
||||||
mes "I'm sorry about the lie.";
|
mes "I'm sorry about the lie.";
|
||||||
@ -2598,6 +2602,7 @@ prt_in,94,172,4 script Karian#job_min3 480,{
|
|||||||
mes "Huh?";
|
mes "Huh?";
|
||||||
close;
|
close;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
mes "[Karian]";
|
mes "[Karian]";
|
||||||
mes "How did you get in here?";
|
mes "How did you get in here?";
|
||||||
close;
|
close;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user