From 11179e3d43bee6528ec8966a792bfb9d3dc71e8a Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Fri, 1 Jul 2016 09:34:52 +0200 Subject: [PATCH] Fixed creator npc for rebirth The npc now gives the creators their homunculus skills if they had learned them before their rebirth. Fixes #1408 --- npc/jobs/2-2a/Creator.txt | 93 ++++++++++++++++++++------------------- 1 file changed, 47 insertions(+), 46 deletions(-) diff --git a/npc/jobs/2-2a/Creator.txt b/npc/jobs/2-2a/Creator.txt index 309588d65d..93c69cc1f4 100644 --- a/npc/jobs/2-2a/Creator.txt +++ b/npc/jobs/2-2a/Creator.txt @@ -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,";