public static MonsterSkillReplacement[] SpecialReplacement(SkillDef skill) { MonsterSkillReplacement skillReplacement = ScriptableObject.CreateInstance <MonsterSkillReplacement>(); skillReplacement.skillSlot = SkillSlot.Special; skillReplacement.skillDef = skill; return(new MonsterSkillReplacement[] { skillReplacement }); }
internal static MonsterSkillReplacement[] UtilityReplacement(SkillDef skill) { MonsterSkillReplacement skillReplacement = ScriptableObject.CreateInstance <MonsterSkillReplacement>(); skillReplacement.skillSlot = SkillSlot.Utility; skillReplacement.skillDef = skill; return(new MonsterSkillReplacement[] { skillReplacement }); }