public override void UnEquipItem(Player.theHero user)
        {
            base.UnEquipItem(user);

            user.setHero_lucky(user.getHero_lucky() - getAdd_lucky());
            user.setHero_charm(user.getHero_charm() + getAdd_charm());
        }
Beispiel #2
0
        public override void EquipItem(Player.theHero user)
        {
            base.EquipItem(user);

            user.setHero_lucky(user.getHero_lucky() + getAdd_lucky());
            user.setHero_endurance(user.getHero_endurance() + getAdd_endurance());
        }