Added the necessary infrastructure for Rituals to use Demon Will from the Aura.

Added the Demon Will Gauge.
This commit is contained in:
WayofTime 2016-07-10 21:51:17 -04:00
parent 12094c1153
commit 767b09221c
16 changed files with 189 additions and 27 deletions

View file

@ -41,7 +41,13 @@ public class DemonAuraPacketProcessor implements IMessage, IMessageHandler<Demon
PacketBuffer buff = new PacketBuffer(buffer);
for (EnumDemonWillType type : EnumDemonWillType.values())
{
buff.writeDouble(currentWill.willMap.get(type));
if (currentWill.willMap.containsKey(type))
{
buff.writeDouble(currentWill.willMap.get(type));
} else
{
buff.writeDouble(0);
}
}
}