Ejemplo n.º 1
0
        public override void EditSpawnRate(Player player, ref int spawnRate, ref int maxSpawns)
        {
            VPlayer vp = VPlayer.GetData(player);

            foreach (VitriBuff buff in vp.buffs)
            {
                buff.EditSpawnRate(vp, ref spawnRate, ref maxSpawns);
            }
        }
Ejemplo n.º 2
0
 public static VPlayer GetPlayer(this Player player)
 {
     return(player != null?VPlayer.GetData(player) : null);
 }