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