Esempio n. 1
0
    public override void CastSkill(LivingEntities target, LivingEntities self)
    {
        if (DiceRoller.PickpocketCheck(self))
        {
            int itemToSteal = Random.Range(1, 4);
            switch (itemToSteal)
            {
            case 1:
                MonoBehaviour.print("Potion Stolen");
                break;

            case 2:
                MonoBehaviour.print("Mana Potion Stolen");
                break;

            case 3:
                MonoBehaviour.print("LockPick Stolen");
                break;
            }
        }
    }