Quest buff adjustments.

Contributed by Horus.
This commit is contained in:
MobiusDevelopment
2021-07-27 11:28:19 +00:00
parent 2afa9c2513
commit 878c127047
10 changed files with 102 additions and 54 deletions

View File

@@ -108,8 +108,9 @@ public class Q10590_ReawakenedFate extends Quest
}
case "teleport":
{
if (qs.isCond(1))
if (qs.isCond(1) || qs.isCond(2) || qs.isCond(4) || qs.isCond(5) || qs.isCond(6) || qs.isCond(7))
{
giveStoryBuffReward(npc, player);
player.teleToLocation(BLOODY_SWAMPLAND); // Teleport to Bloody Swampland near npc Lapathia
}
break;
@@ -117,24 +118,28 @@ public class Q10590_ReawakenedFate extends Quest
case "34414-03.html":
{
qs.setCond(2, true);
giveStoryBuffReward(npc, player);
htmltext = event;
break;
}
case "34513-07.html":
{
qs.setCond(4, true);
giveStoryBuffReward(npc, player);
htmltext = event;
break;
}
case "34362-03.html":
{
qs.setCond(5, true);
giveStoryBuffReward(npc, player);
htmltext = event;
break;
}
case "30857-03.html":
{
qs.setCond(6, true);
giveStoryBuffReward(npc, player);
htmltext = event;
break;
}
@@ -172,8 +177,6 @@ public class Q10590_ReawakenedFate extends Quest
{
htmltext = "34513-13.html";
}
// TODO: We need info about what to do, when player does not have dual class yet.
// else {}
}
}
return htmltext;