summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-03 22:42:41 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-03 22:42:41 -0300
commit57063de0cedd533ae5ac29b5d54e9a7fefe15b7a (patch)
treef947e8549cf3654c66cd70c3d95fe11272ea0b00 /npc
parente54f4318c30787a9c2e9d6dd24e57612cf454c96 (diff)
downloadserverdata-57063de0cedd533ae5ac29b5d54e9a7fefe15b7a.tar.gz
serverdata-57063de0cedd533ae5ac29b5d54e9a7fefe15b7a.tar.bz2
serverdata-57063de0cedd533ae5ac29b5d54e9a7fefe15b7a.tar.xz
serverdata-57063de0cedd533ae5ac29b5d54e9a7fefe15b7a.zip
Reset Gemini Status if a new instance was created
Diffstat (limited to 'npc')
-rw-r--r--npc/014-2-2/valia.txt8
1 files changed, 1 insertions, 7 deletions
diff --git a/npc/014-2-2/valia.txt b/npc/014-2-2/valia.txt
index 65701ae02..7c9993af9 100644
--- a/npc/014-2-2/valia.txt
+++ b/npc/014-2-2/valia.txt
@@ -54,13 +54,6 @@ function script GeminiKill {
return;
}
-// Janitor
-function script GeminiFail {
- .@id=getarg(0, 0);
- return;
-}
-
-
// Valia Gemini
014-2-2,36,22,0 script Valia NPC_RED_WIZARD_F,{
GeminiCheck();
@@ -184,6 +177,7 @@ function script GeminiFail {
instance_attachmap("034-3", .@inst, false, "val3@"+.@p);
instance_attachmap("034-4", .@inst, false, "val4@"+.@p);
// Save the instance ID
+ $@VALIA_STATUS[.@p]=0;
$@VALIA_INST[.@p]=.@inst;
$@VALIA_MAP$[.@p]="";
}