Buffs now fallback on ... read extended

Buffs now fallback onto buffs.iff if no script currently exists for the
buff.
This commit is contained in:
Seefo
2014-03-31 12:26:03 -04:00
parent a8c7882a3a
commit c3e784f76f
3 changed files with 31 additions and 10 deletions
@@ -369,7 +369,7 @@ public class CreatureMessageBuilder extends ObjectMessageBuilder {
buff.setTotalPlayTime(0);
buffer.put((byte) 1);
buffer.putInt(0);
buffer.putInt(CRC.StringtoCRC(buff.getBuffName()));
buffer.putInt(CRC.StringtoCRC(buff.getBuffName().toLowerCase()));
if(buff.getDuration() > 0) {
buffer.putInt((int) (buff.getTotalPlayTime() + buff.getRemainingDuration()));
buffer.putInt(0);