Issue information

Issue ID
#5758
Status
Fixed
Severity
None
Started
Hercules Elf Bot
May 17, 2012 0:54
Last Post
Hercules Elf Bot
May 23, 2012 8:42
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - May 17, 2012 0:54

Originally posted by [b]Toshiro[/b]
There are incorrect checks to make sure if you have certain quests before removing them.
[code]if (checkquest(...)) erasequest ...;[/code]
The check passed then you have the quest active (1), finished (2) or if you don't have it at all (-1), but not if you set it to inactive (0).
This caused also errors with setquest where it was assumed that the quest was already removed by erasequest before.

Script: [svn='trunk/npc/instances/SealedShrine.txt']
Since Rev: [rev='14376']

This post has been edited by Toshiro on May 17, 2012 0:56