Example #1
0
        public override bool Success(StatBlock sb)
        {
            SceneSwitcher.Instance.EnableScene("Dungeon");

            // call that method we made in WholeDungeon.cs
            List <MercenaryData> mercList = new List <MercenaryData>();

            mercList.Add(EncounterController.Instance.ActiveMercenary);

            SceneSwitcher.Instance.dungeon.gameObject.GetComponentInChildren <WholeDungeon>().TakeDataFromOverworld(mercList);


            SceneSwitcher.Instance.DisableScene("Overworld");
            return(true);
        }
Example #2
0
 public override bool Success(StatBlock sb)
 {
     return(RPGController.SkillCheck(sb, Skill, CheckDifficulty));
 }
 public virtual bool Success(StatBlock sb)
 {
     return(true);
 }
Example #4
0
 public override bool Success(StatBlock sb)
 {
     return(RPGController.Contest(sb, Adversary, Skill));
 }