Exemple #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);
        }
Exemple #2
0
 public override bool Success(StatBlock sb)
 {
     return(RPGController.SkillCheck(sb, Skill, CheckDifficulty));
 }
 public virtual bool Success(StatBlock sb)
 {
     return(true);
 }
Exemple #4
0
 public override bool Success(StatBlock sb)
 {
     return(RPGController.Contest(sb, Adversary, Skill));
 }