Added duels, added incap and deathblow, fixed some buff issues

This commit is contained in:
Light2
2013-09-14 22:25:52 +02:00
parent 2768c20dff
commit f829fa638b
25 changed files with 408 additions and 49 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ public class Buff implements IListObject {
IoBuffer buffer = bufferPool.allocate(28, false).order(ByteOrder.LITTLE_ENDIAN);
buffer.putInt(CRC.StringtoCRC(buffName));
buffer.putInt(CRC.StringtoCRC(buffName.toLowerCase()));
if(duration > 0) {
buffer.putInt((int) (totalPlayTime + getRemainingDuration()));
buffer.putInt(0);
@@ -119,7 +119,7 @@ public class Buff implements IListObject {
} else {
buffer.putInt(-1);
buffer.putInt(0);
buffer.putInt(-1);
buffer.putInt(0);
}
buffer.putLong(ownerId);
buffer.putInt(1); // unk