r16619
questG04Nemesis tracking as a seal clubber has a few minor bugs.
handleGuildChange() in QuestManager.java:
These match in situations where they should not.
questG04Nemesis becomes step10 when starting the quest: (step10 is when you're at the cave)
questG04Nemesis becomes step7 (you should create the hammer) when you already have it: (step8/9)
Quest intro text:
"within the Big Mountains" matches and advances the quest to step10.
Quest step9 text:
"Meatsmithing hammer" matches and backtracks the quest to step7.
The quest text for actually reaching step10:
For step10, maybe match against "cave in the Big Mountains"? That works for seal clubbers, but I'm not sure if it will for other classes. Or, check if it's not the muscle intro text.
For step7, maybe switch to setQuestIfBetter()?
questG04Nemesis tracking as a seal clubber has a few minor bugs.
handleGuildChange() in QuestManager.java:
Code:
if ( responseText.contains( "in the Big Mountains" ) )
{
QuestDatabase.setQuestProgress( Quest.NEMESIS, "step10" );
}
Code:
if ( responseText.contains( "Meatsmithing hammer" ) )
{
QuestDatabase.setQuestProgress( Quest.NEMESIS, "step7" );
}
These match in situations where they should not.
questG04Nemesis becomes step10 when starting the quest: (step10 is when you're at the cave)
Code:
> get questG04Nemesis
unstarted
> [visit the gringr, the seal clubber and start the quest]
> get questG04Nemesis
step10
> ashq visit_url("questlog.php?which=7")
> get questG04Nemesis
started
Code:
> get questG04Nemesis
step6
> acquire hammer of smiting
Verifying ingredients for Hammer of Smiting (1)...
Creating Hammer of Smiting (1)...
You acquire an item: Hammer of Smiting
Successfully created Hammer of Smiting (1)
> get questG04Nemesis
step8
> Visit guild maybe? Don't remember.
> get questG04Nemesis
step9
> Talk to Gringr
You gain 1,000 Meat
> get questG04Nemesis
step7
Quest intro text:
Code:
<p>"Ezandora! I have grave news! Your Nemesis has stolen an incredibly dangerous mystical artifact, guarded by our guild for generations! You must recover it from him before he discovers how to use it, or great catastrophe will surely ensue!"<p>"Wait, what? Since when do I have a Nemesis?" you ask.<p>"We took a vote, and you weren't here, so he's your Nemesis. You should come to meetings more often. Anyway, this is not the time for such argument. Your Nemesis is rumored to lair within the Big Mountains, but I fear you have not the required mettle to defeat him. You must recover and master the Legendary Epic Weapon of the Seal Clubber before you will have any hope of victory. It will be a long and arduous task -- are you prepared?"<p>"No."<p>"Too bad. Now, hearken to my words: long ago, the Legendary Epic weapon was split into two pieces, to reduce its power should it fall into unworthy hands. The first piece is an Epic Weapon in its own right, which is sealed within the Tomb of the Unknown Seal Clubber, but it has only a fraction of its former power without the second component."<p>"And where is that?" you ask.<p>"It fell into unworthy hands. But first things must come first. The Tomb is within the Misspelled Cemetery, located in the Nearby Plains. Travel there and challenge the traditional tests of the Seal Clubber, and return here with the Epic Weapon."<p>"What happens if I fail the tests?"<p>You receive a stern glare. "Failure is not an option, Ezandora. Now hurry, and may the gods help us all."</td>
Quest step9 text:
Code:
<td>"You've done it! The ancient Hammer of Smiting has been renewed! You were even able to repair it without being told the method! Here, allow me to reimburse you for the cost of the Meatsmithing hammer. Ezandora, it is clear that you are destined for great... er, destiny. Take the Legendary Epic Weapon with you, and train hard in its use. Once you have become a bit stronger, and we have located where your Nemesis has gone to ground, your true quest will begin."<center>
The quest text for actually reaching step10:
Code:
<td>"Good -- you're back, and just in time! Our scouts have pinpointed the location of your Nemesises... Nemesees's... the hideout of your Nemesis. It's a cave in the Big Mountains; I will mark it on your map for you. It is essential that you recover the stolen artifact as soon as possible, but be wary -- the place is undoubtely filled with malicious traps and evil guards."
<p>
"Okay," you say, "but if it's that dangerous, how about sending some backup along with me?"
<p>
"Ah, well, yes, that would be wise, but all the other members of the Brotherhood have their own quests at the moment. I myself have a pressing mission to... wash those windows. Grod's Beard, look how filthy they've become!"
<p>
"...Right."
<p>
"Besides, this is between you and your Nemesis. That's a one-on-one struggle, no getting around it. That's one of the Rules."</td>
For step10, maybe match against "cave in the Big Mountains"? That works for seal clubbers, but I'm not sure if it will for other classes. Or, check if it's not the muscle intro text.
For step7, maybe switch to setQuestIfBetter()?