Fixed creator npc for rebirth

The npc now gives the creators their homunculus skills if they had learned them before their rebirth.

Fixes #1408
This commit is contained in:
Lemongrass3110 2016-07-01 09:34:52 +02:00
parent a41b132321
commit 11179e3d43

View File

@ -13,10 +13,56 @@
//= 1.1 Made all into functions, additional checks, etc. [Lupus]
//= 1.2 Made numbers into constants. [Vicious]
//= 1.3 Now saves/restores all the quest skills [Lupus]
//= 1.4 Creators did not get their homunculus skills [Lemongrass]
//============================================================
valkyrie,53,50,3 script Biochemist#Valkyrie 122,{
if (ADVJOB == 0 || Upper != 1) {
if (Class == Job_Creator && bioeth == 13 && getskilllv("AM_BIOETHICS") == 0) {
mes "[Biochemist]";
mes "Ah, have you come to";
mes "retrieve the memories";
mes "lost to you? Yes, you";
mes "must be here for the";
mes "secrets of life that";
mes "were once yours...";
next;
if (select("Yes:No") == 1) {
mes "[Biochemist]";
mes "Close your eyes and";
mes "put your mind at rest.";
mes "We will return to your";
mes "past to recollect the";
mes "fragments of your lost";
mes "memories.";
next;
mes "[Biochemist]";
mes "When you open your eyes,";
mes "you will clearly remember";
mes "the secret of life. You will";
mes "also remember the weight of";
mes "responsibility in using these";
mes "secrets for the right ends...";
next;
skill "AM_BIOETHICS",1,SKILL_PERM;
mes "[Biochemist]";
mes "Open your eyes...";
mes "Now that you have";
mes "remembered how to";
mes "create artificial life, I only";
mes "ask that you treat all of your";
mes "creations with respect.";
close;
}
mes "[Biochemist]";
mes "If you wish to";
mes "retrieve your lost";
mes "memories, please";
mes "come back to me.";
mes "The secret to creating";
mes "life is no trifling thing...";
close;
}
else if (ADVJOB == 0 || Upper != 1) {
set .@karma_d,rand(1,10);
if (.@karma_d > 4) {
mes "[Biochemist]";
@ -75,51 +121,6 @@ valkyrie,53,50,3 script Biochemist#Valkyrie 122,{
close;
}
else {
if (Class == Job_Creator && bioeth == 13 && getskilllv("AM_BIOETHICS") == 0) {
mes "[Biochemist]";
mes "Ah, have you come to";
mes "retrieve the memories";
mes "lost to you? Yes, you";
mes "must be here for the";
mes "secrets of life that";
mes "were once yours...";
next;
if (select("Yes:No") == 1) {
mes "[Biochemist]";
mes "Close your eyes and";
mes "put your mind at rest.";
mes "We will return to your";
mes "past to recollect the";
mes "fragments of your lost";
mes "memories.";
next;
mes "[Biochemist]";
mes "When you open your eyes,";
mes "you will clearly remember";
mes "the secret of life. You will";
mes "also remember the weight of";
mes "responsibility in using these";
mes "secrets for the right ends...";
next;
skill "AM_BIOETHICS",1,SKILL_PERM;
mes "[Biochemist]";
mes "Open your eyes...";
mes "Now that you have";
mes "remembered how to";
mes "create artificial life, I only";
mes "ask that you treat all of your";
mes "creations with respect.";
close;
}
mes "[Biochemist]";
mes "If you wish to";
mes "retrieve your lost";
mes "memories, please";
mes "come back to me.";
mes "The secret to creating";
mes "life is no trifling thing...";
close;
}
mes "[Biochemist]";
mes "Welcome";
mes "to Valhalla,";