Exemple #1
0
        public void UpdateMagicAuras()
        {
            PropagateNecromancyAuro.Apply(Necromancy, CurrentData, CurrentUnits, Output: Temp1);
            CoreMath.Swap(ref Temp1, ref Necromancy);

            PropagateAntiMagicAuro.Apply(AntiMagic, CurrentData, CurrentUnits, Output: Temp1);
            CoreMath.Swap(ref Temp1, ref AntiMagic);
        }
Exemple #2
0
 public void UpdateMagicFields()
 {
     UpdateMagic.Apply(Magic, CurrentData, PreviousData, Corpses, Necromancy, Output: Temp1);
     CoreMath.Swap(ref Temp1, ref Magic);
 }