Various quest adjustments and fixes.

Contributed by emilianoify.
This commit is contained in:
MobiusDevelopment
2021-03-18 23:33:45 +00:00
parent 9e1bc31613
commit 3208c85eaf
513 changed files with 5222 additions and 2850 deletions

View File

@@ -873,6 +873,18 @@ public class Quest extends ManagedScript
}
}
/**
* Add this quest to the list of quests that the passed mob will respond to for Kill Events.
* @param killIds A serie of ids.
*/
public void addKillId(Collection<Integer> killIds)
{
for (int killId : killIds)
{
addEventId(killId, EventType.ON_KILL);
}
}
/**
* Add this quest to the list of quests that the passed npc will respond to for Talk Events.
* @param talkId : ID of the NPC