Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override void GiveEffect(IMovable movableObject)
- {
- if (movableObject is Bear bear)
- {
- bear.Damage *= 2;
- }
- else
- {
- base.GiveEffect(movableObject);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement