Added complete_quest and reward task type handling, Changed task type to be split when quest loads instead of activating next task, Added getInventory method to CreatureObject, Added getQuestRewardTemplate to QuestService

This commit is contained in:
Waverunner
2014-08-26 15:14:26 -04:00
parent 9696bbd831
commit e7fa4f76eb
3 changed files with 47 additions and 9 deletions
@@ -1395,6 +1395,10 @@ public class CreatureObject extends TangibleObject implements IPersistent {
getClient().getSession().write(new PlayMusicMessage(sndFile, targetId, 1, false));
}
public TangibleObject getInventory() {
return (TangibleObject) getSlottedObject("inventory");
}
public void notifyClients(IoBuffer buffer, boolean notifySelf) {
notifyObservers(buffer, notifySelf);
}