コード例 #1
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            FargoSoulsPlayer modPlayer = player.GetModPlayer <FargoSoulsPlayer>();

            //meme speed, solar flare,
            modPlayer.CosmoForce = true;

            //meteor shower
            modPlayer.MeteorEffect();
            //solar shields
            modPlayer.SolarEnchantActive = true;
            //stealth, voids, pet
            modPlayer.VortexEffect(hideVisual);
            //boosters and meme speed
            modPlayer.NebulaEnchantActive = true;
            //guardian and time freeze
            modPlayer.StardustEffect(Item);
        }