예제 #1
0
    public static void defaultResponse(ActionType action, ExploreCat userCat)
    {
        switch (action)
        {
        case ActionType.Magic:
            //instantiates sparkle particles; change color to something else; level + 2
            userCat.Magic();
            break;

        case ActionType.Ghost:
            //increases stats; cat fades then disappears from field; harder to land a hit
            userCat.tempBoost(2);
            userCat.FadeAndAvoidHit();
            break;

        case ActionType.Fly:
            // automatically able to flee - on flee, message isn't 'fled successfully', but '[name] used fly to escape!'
            //if in battle, cat floats above, only ranged cats or other flying cats can land a hit
            userCat.FlyAndAvoidHit();
            break;
        }
    }