Added the necessary infrastructure for Rituals to use Demon Will from the Aura.
Added the Demon Will Gauge.
This commit is contained in:
parent
12094c1153
commit
767b09221c
16 changed files with 189 additions and 27 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue