User:MomBun/Sandbox: Difference between revisions

No change in size ,  03:12, 3 August 2022
no edit summary
No edit summary
No edit summary
Line 103: Line 103:
         {
         {
             return  "Occasionally you will moo";
             return  "Occasionally you will moo";
        }
        // This is called every time the mutation changes level, and can be used to change things like damage.
        public override bool ChangeLevel(int NewLevel)
        {
            return true;
        }
        // These two are called upon when an object gains said mutation and what happens, and is used to add or remove things as necessary
        public override bool Mutate(GameObject MUTANT, int Level)
        {
            return true;
        }
        public override bool Unmutate(GameObject MUTANT)
        {
            return true;
         }
         }


Line 148: Line 165:
             }
             }
             return base.FireEvent(E);
             return base.FireEvent(E);
        }
        // This is called every time the mutation changes level, and can be used to change things like damage.
        public override bool ChangeLevel(int NewLevel)
        {
            return true;
        }
        // These two are called upon when an object gains said mutation and what happens, and is used to add or remove things as necessary
        public override bool Mutate(GameObject PLAYER, int Level)
        {
            return true;
        }
        public override bool Unmutate(GameObject PLAYER)
        {
            return true;
         }
         }
     }
     }
12

edits