dancers can now gain experience by performing flourishes

(calculations might still be off though. :p)
This commit is contained in:
darkk1138
2013-12-09 22:54:21 +01:00
parent 6177ed69f3
commit 14f75cc1b4
5 changed files with 95 additions and 9 deletions
@@ -256,7 +256,11 @@ public class CreatureMessageBuilder extends ObjectMessageBuilder {
buffer.putLong(creature.getTargetId());
buffer.put(creature.getMoodId());
buffer.putInt(creature.getPerformanceCounter());
buffer.putInt(creature.getPerformanceId());
/*
* minor dilemma: performance ID is needed for XP calculation, but it can't be sent
* in the CREO, otherwise the evul note bubbles appear
*/
buffer.putInt((creature.getPerformanceType()) ? 0 : creature.getPerformanceId());
buffer.putInt(0); // unks
buffer.putInt(0);