本文整理汇总了C#中GamePlayer.AddSpellLine方法的典型用法代码示例。如果您正苦于以下问题:C# GamePlayer.AddSpellLine方法的具体用法?C# GamePlayer.AddSpellLine怎么用?C# GamePlayer.AddSpellLine使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GamePlayer
的用法示例。
在下文中一共展示了GamePlayer.AddSpellLine方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OnLevelUp
public override void OnLevelUp(GamePlayer player, int previousLevel)
{
base.OnLevelUp(player, previousLevel);
// Mystic
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Darkness));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Suppression));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Darkness"));
player.AddSpellLine(SkillBase.GetSpellLine("Suppression"));
// Abilities
player.AddAbility(SkillBase.GetAbility(Abilities.Sprint));
player.AddAbility(SkillBase.GetAbility(Abilities.MidArmor, ArmorLevel.Cloth));
player.AddAbility(SkillBase.GetAbility(Abilities.Weapon_Staves));
// Bonedancer
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.BoneArmy));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Bone Army"));
player.AddSpellLine(SkillBase.GetSpellLine("Bone Mystics"));
player.AddSpellLine(SkillBase.GetSpellLine("Bone Guardians"));
player.AddSpellLine(SkillBase.GetSpellLine("Bone Warriors"));
// Abilities
player.AddAbility(SkillBase.GetAbility(Abilities.Quickcast));
}
示例2: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player, int previousLevel)
{
base.OnLevelUp(player, previousLevel);
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Staff));
player.AddSpellLine(SkillBase.GetSpellLine("Rebirth"));
player.AddSpellLine(SkillBase.GetSpellLine("Friar Enhancement Spec"));
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 1));
if (player.Level >=10)
{
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Parry));
}
if (player.Level >= 15)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Tireless));
}
// EVADE
if (player.Level >= 33)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 5));
}
else if (player.Level >= 22)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 4));
}
else if (player.Level >= 15)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 3));
}
else if (player.Level >= 10)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 2));
}
}
示例3: OnLevelUp
public override void OnLevelUp(GamePlayer player)
{
base.OnLevelUp(player);
//Remove
player.RemoveSpellLine("Darkness");
player.RemoveSpellLine("Suppression");
player.RemoveSpecialization(Specs.Darkness);
player.RemoveSpecialization(Specs.Suppression);
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Cursing));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Hexing));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Witchcraft));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Cursing"));
player.AddSpellLine(SkillBase.GetSpellLine("Cursing Spec"));
player.AddSpellLine(SkillBase.GetSpellLine("Hexing"));
player.AddSpellLine(SkillBase.GetSpellLine("Witchcraft"));
if (player.Level >= 6)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Tireless));
}
}
示例4: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player)
{
base.OnLevelUp(player);
player.AddAbility(SkillBase.GetAbility(Abilities.HibArmor, ArmorLevel.Leather));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Piercing));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Dementia));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.ShadowMastery));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.VampiiricEmbrace));
player.AddSpellLine(SkillBase.GetSpellLine("Dementia"));
player.AddSpellLine(SkillBase.GetSpellLine("Shadow Mastery"));
player.AddSpellLine(SkillBase.GetSpellLine("Vampiiric Embrace"));
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirBolt, 0));
if (player.Level >= 6)
{
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirConstitution));
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirDexterity));
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirQuickness));
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirStrength));
player.AddAbility(SkillBase.GetAbility(Abilities.Tireless));
}
if (player.Level >= 10)
{
player.AddAbility(SkillBase.GetAbility(Abilities.SafeFall, 1));
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirBolt, 1));
}
if (player.Level >= 20)
{
player.AddAbility(SkillBase.GetAbility(Abilities.SafeFall, 2));
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirBolt, 2));
}
if (player.Level >= 25)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Climbing));
}
if (player.Level >= 30)
{
player.AddAbility(SkillBase.GetAbility(Abilities.SafeFall, 3));
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirBolt, 3));
}
if (player.Level >= 35)
{
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirBolt, 4));
}
if (player.Level >= 40)
{
player.AddAbility(SkillBase.GetAbility(Abilities.SafeFall, 4));
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirBolt, 5));
}
if (player.Level >= 45)
{
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirBolt, 6));
}
if (player.Level >= 50)
{
player.AddAbility(SkillBase.GetAbility(Abilities.SafeFall, 5));
player.AddAbility(SkillBase.GetAbility(Abilities.VampiirBolt, 7));
}
}
示例5: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player)
{
base.OnLevelUp(player);
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Blades));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Blunt));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Music));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Bard Music"));
player.AddSpellLine(SkillBase.GetSpellLine("Bard Nurture Spec"));
player.AddSpellLine(SkillBase.GetSpellLine("Regrowth Bard Spec"));
player.AddSpellLine(SkillBase.GetSpellLine("Bard Music Spec"));
player.AddAbility(SkillBase.GetAbility(Abilities.Weapon_Instruments));
if (player.Level >= 10)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 1));
}
if (player.Level >= 15)
{
player.AddAbility(SkillBase.GetAbility(Abilities.HibArmor, ArmorLevel.Reinforced));
player.AddAbility(SkillBase.GetAbility(Abilities.Tireless));
}
if (player.Level >= 25)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 2));
}
}
示例6: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player)
{
base.OnLevelUp(player);
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Blades));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Blunt));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Shields));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Nurture Warden Spec"));
player.AddSpellLine(SkillBase.GetSpellLine("Regrowth Warden Spec"));
if (player.Level >= 5)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Shield, ShieldLevel.Large));
}
if (player.Level >= 7)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Weapon_Shortbows));
}
if (player.Level >= 10)
{
player.AddAbility(SkillBase.GetAbility(Abilities.HibArmor, ArmorLevel.Reinforced));
}
if (player.Level >= 15)
{
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Parry));
player.AddAbility(SkillBase.GetAbility(Abilities.Tireless));
}
if (player.Level >= 20)
{
player.AddAbility(SkillBase.GetAbility(Abilities.HibArmor, ArmorLevel.Scale));
}
}
示例7: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player)
{
base.OnLevelUp(player);
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Death_Servant));
player.AddSpellLine(SkillBase.GetSpellLine("Painworking"));
player.AddSpellLine(SkillBase.GetSpellLine("Deathsight Spec"));
player.AddSpellLine(SkillBase.GetSpellLine("Painworking Spec"));
player.AddSpellLine(SkillBase.GetSpellLine("Death Servant Spec"));
}
示例8: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player)
{
base.OnLevelUp(player);
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Enchantments));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Enchantment"));
player.AddSpellLine(SkillBase.GetSpellLine("Empowering"));
player.AddSpellLine(SkillBase.GetSpellLine("Bedazzling"));
player.AddSpellLine(SkillBase.GetSpellLine("Enchantment Mastery"));
player.AddAbility(SkillBase.GetAbility(Abilities.Quickcast));
}
示例9: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player)
{
base.OnLevelUp(player);
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Void));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Way of the Eclipse"));
player.AddSpellLine(SkillBase.GetSpellLine("Shadow Control"));
player.AddSpellLine(SkillBase.GetSpellLine("Vacuumancy"));
player.AddSpellLine(SkillBase.GetSpellLine("Void Mastery"));
player.AddAbility(SkillBase.GetAbility(Abilities.Quickcast));
}
示例10: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player, int previousLevel)
{
base.OnLevelUp(player, previousLevel);
// Specializations
player.AddAbility(SkillBase.GetAbility(Abilities.Weapon_Scythe));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Scythe));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Parry));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Valewalker Arb Path Spec"));
// Forester class adds "Arboreal Path" so we need to remove it here
player.RemoveSpellLine( "Arboreal Path" );
player.AddSpellLine(SkillBase.GetSpellLine("Valewalker Arboreal Path Base")); //immolation spells
if (player.Level >= 5)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 1));
}
if (player.Level >= 10)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 2));
}
if (player.Level >= 15)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Tireless));
player.AddAbility(SkillBase.GetAbility(Abilities.Protect, 1));
}
if(player.Level >= 19)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Intercept));
}
if (player.Level >= 20)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 3));
}
if(player.Level >= 23)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Protect, 2));
}
if (player.Level >= 30)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Evade, 4));
}
if(player.Level >= 32)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Protect, 3));
}
}
示例11: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player)
{
base.OnLevelUp(player);
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Mentalism));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Mentalism"));
player.AddSpellLine(SkillBase.GetSpellLine("Holism"));
player.AddSpellLine(SkillBase.GetSpellLine("Illusions"));
player.AddSpellLine(SkillBase.GetSpellLine("Mind Mastery"));
player.AddAbility(SkillBase.GetAbility(Abilities.Quickcast));
}
示例12: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player, int previousLevel)
{
base.OnLevelUp(player, previousLevel);
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Fire_Magic));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Path of Fire"));
player.AddSpellLine(SkillBase.GetSpellLine("Calefaction"));
player.AddSpellLine(SkillBase.GetSpellLine("Liquifaction"));
player.AddSpellLine(SkillBase.GetSpellLine("Pyromancy"));
player.AddAbility(SkillBase.GetAbility(Abilities.Quickcast));
}
示例13: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player)
{
base.OnLevelUp(player);
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Wind_Magic));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Path of Air"));
player.AddSpellLine(SkillBase.GetSpellLine("Abrasion"));
player.AddSpellLine(SkillBase.GetSpellLine("Refrigeration"));
player.AddSpellLine(SkillBase.GetSpellLine("Vapormancy"));
player.AddAbility(SkillBase.GetAbility(Abilities.Quickcast));
}
示例14: OnLevelUp
/// <summary>
/// Update all skills and add new for current level
/// </summary>
/// <param name="player"></param>
public override void OnLevelUp(GamePlayer player, int previousLevel)
{
base.OnLevelUp(player, previousLevel);
player.AddAbility(SkillBase.GetAbility(Abilities.Shield, ShieldLevel.Large));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Shields));
player.AddAbility(SkillBase.GetAbility(Abilities.Weapon_LargeWeapons));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Large_Weapons));
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Valor));
player.AddSpellLine(SkillBase.GetSpellLine("Valor"));
if (player.Level >= 15)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Protect, 1));
player.AddAbility(SkillBase.GetAbility(Abilities.Tireless));
}
if (player.Level >= 18)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Intercept));
}
if (player.Level >= 20)
{
player.AddAbility(SkillBase.GetAbility(Abilities.HibArmor, ArmorLevel.Scale));
}
if (player.Level >= 25)
{
player.AddAbility(SkillBase.GetAbility(Abilities.Protect, 2));
}
}
示例15: OnLevelUp
public override void OnLevelUp(GamePlayer player, int previousLevel)
{
base.OnLevelUp(player, previousLevel);
// Specializations
player.AddSpecialization(SkillBase.GetSpecialization(Specs.Summoning));
// Spell lines
player.AddSpellLine(SkillBase.GetSpellLine("Summoning"));
player.AddSpellLine(SkillBase.GetSpellLine("Spirit Dimming"));
player.AddSpellLine(SkillBase.GetSpellLine("Spirit Suppression"));
player.AddSpellLine(SkillBase.GetSpellLine("Spirit Enhancement"));
// Abilities
player.AddAbility(SkillBase.GetAbility(Abilities.Quickcast));
}