Exemplo n.º 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);
            }
Exemplo n.º 2
0
 public static ItemProperty SkillBonus(NwSkill skill, int bonus)
 {
     return(NWScript.ItemPropertySkillBonus(skill.Id, bonus) !);
 }
Exemplo n.º 3
0
 public static Effect SkillIncrease(NwSkill skill, int amount)
 {
     return(NWScript.EffectSkillIncrease(skill.Id, amount) !);
 }
Exemplo n.º 4
0
 public static ItemProperty DecreaseSkill(NwSkill skill, int penalty)
 {
     return(NWScript.ItemPropertyDecreaseSkill(skill.Id, penalty) !);
 }