private void RaceDeath(Character.Race r) { switch (r) { case Character.Race.Goblin: OnConditionEvent.Invoke(UnlockCondition.GoblinDeath); break; case Character.Race.Human: OnConditionEvent.Invoke(UnlockCondition.KillHuman); break; case Character.Race.Spider: OnConditionEvent.Invoke(UnlockCondition.KillSpider); break; case Character.Race.Zombie: OnConditionEvent.Invoke(UnlockCondition.KillZombie); break; case Character.Race.Ogre: OnConditionEvent.Invoke(UnlockCondition.KillGiant); break; case Character.Race.Wolf: OnConditionEvent.Invoke(UnlockCondition.KillWolf); break; case Character.Race.NoRace: break; default: throw new ArgumentOutOfRangeException(nameof(r), r, null); } }
public static Shout GetEnemyReaction(Character.Race Type) { return(Instance.GetRandom(Instance.EnemyReactions.First(l => l.Race == Type).GoblinShouts)); }
bool IEveRepository.TryGetRaceById(Character.RaceId id, out Character.Race value) { throw new NotImplementedException(); }