Various quest adjustments and fixes.
Contributed by emilianoify.
This commit is contained in:
@@ -64,7 +64,8 @@ public class Book implements IItemHandler
|
||||
7109,
|
||||
7110,
|
||||
7111,
|
||||
7112
|
||||
7112,
|
||||
8059
|
||||
};
|
||||
|
||||
@Override
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user