Beispiel #1
0
            private static IReadOnlyList <NwSkill> LoadSkills(CNWSkillArray skillArray, int count)
            {
                NwSkill[] retVal = new NwSkill[count];
                for (int i = 0; i < retVal.Length; i++)
                {
                    retVal[i] = new NwSkill((byte)i, skillArray.GetItem(i));
                }

                return(retVal);
            }
Beispiel #2
0
 public static ItemProperty SkillBonus(NwSkill skill, int bonus)
 {
     return(NWScript.ItemPropertySkillBonus(skill.Id, bonus) !);
 }
Beispiel #3
0
 public static Effect SkillIncrease(NwSkill skill, int amount)
 {
     return(NWScript.EffectSkillIncrease(skill.Id, amount) !);
 }
Beispiel #4
0
 public static ItemProperty DecreaseSkill(NwSkill skill, int penalty)
 {
     return(NWScript.ItemPropertyDecreaseSkill(skill.Id, penalty) !);
 }