StoryOfDreya AI improvement.

Contributed by gigilo1968.
This commit is contained in:
MobiusDev
2019-02-12 03:40:23 +00:00
parent e30dd45963
commit e06e49ccbf
5 changed files with 660 additions and 680 deletions

View File

@@ -85,9 +85,6 @@ public class StoryOfFreya extends AbstractInstance
{ {
String htmltext = null; String htmltext = null;
final Instance world = npc.getInstanceWorld(); final Instance world = npc.getInstanceWorld();
if (isInInstance(world))
{
switch (event) switch (event)
{ {
case "34172-02.html": case "34172-02.html":
@@ -272,7 +269,6 @@ public class StoryOfFreya extends AbstractInstance
break; break;
} }
} }
}
return htmltext; return htmltext;
} }

View File

@@ -85,9 +85,6 @@ public class StoryOfFreya extends AbstractInstance
{ {
String htmltext = null; String htmltext = null;
final Instance world = npc.getInstanceWorld(); final Instance world = npc.getInstanceWorld();
if (isInInstance(world))
{
switch (event) switch (event)
{ {
case "34172-02.html": case "34172-02.html":
@@ -272,7 +269,6 @@ public class StoryOfFreya extends AbstractInstance
break; break;
} }
} }
}
return htmltext; return htmltext;
} }

View File

@@ -85,9 +85,6 @@ public class StoryOfFreya extends AbstractInstance
{ {
String htmltext = null; String htmltext = null;
final Instance world = npc.getInstanceWorld(); final Instance world = npc.getInstanceWorld();
if (isInInstance(world))
{
switch (event) switch (event)
{ {
case "34172-02.html": case "34172-02.html":
@@ -272,7 +269,6 @@ public class StoryOfFreya extends AbstractInstance
break; break;
} }
} }
}
return htmltext; return htmltext;
} }

View File

@@ -85,9 +85,6 @@ public class StoryOfFreya extends AbstractInstance
{ {
String htmltext = null; String htmltext = null;
final Instance world = npc.getInstanceWorld(); final Instance world = npc.getInstanceWorld();
if (isInInstance(world))
{
switch (event) switch (event)
{ {
case "34172-02.html": case "34172-02.html":
@@ -272,7 +269,6 @@ public class StoryOfFreya extends AbstractInstance
break; break;
} }
} }
}
return htmltext; return htmltext;
} }

View File

@@ -85,9 +85,6 @@ public class StoryOfFreya extends AbstractInstance
{ {
String htmltext = null; String htmltext = null;
final Instance world = npc.getInstanceWorld(); final Instance world = npc.getInstanceWorld();
if (isInInstance(world))
{
switch (event) switch (event)
{ {
case "34172-02.html": case "34172-02.html":
@@ -272,7 +269,6 @@ public class StoryOfFreya extends AbstractInstance
break; break;
} }
} }
}
return htmltext; return htmltext;
} }