本文整理汇总了C#中Character.ActiveBuffsAdd方法的典型用法代码示例。如果您正苦于以下问题:C# Character.ActiveBuffsAdd方法的具体用法?C# Character.ActiveBuffsAdd怎么用?C# Character.ActiveBuffsAdd使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Character
的用法示例。
在下文中一共展示了Character.ActiveBuffsAdd方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: SetDefaults
public override void SetDefaults(Character character)
{
character.ActiveBuffsAdd(("Swift Retribution"));
character.ActiveBuffsAdd(("Arcane Intellect"));
character.ActiveBuffsAdd(("Judgements of the Wise"));
character.ActiveBuffsAdd(("Blessing of Wisdom"));
character.ActiveBuffsAdd(("Improved Blessing of Wisdom"));
character.ActiveBuffsAdd(("Elemental Oath"));
character.ActiveBuffsAdd(("Wrath of Air Totem"));
character.ActiveBuffsAdd(("Totem of Wrath (Spell Power)"));
character.ActiveBuffsAdd(("Power Word: Fortitude"));
character.ActiveBuffsAdd(("Improved Power Word: Fortitude"));
character.ActiveBuffsAdd(("Mark of the Wild"));
character.ActiveBuffsAdd(("Improved Mark of the Wild"));
character.ActiveBuffsAdd(("Blessing of Kings"));
character.ActiveBuffsAdd(("Flask of the Frost Wyrm"));
character.ActiveBuffsAdd(("Fish Feast"));
character.ActiveBuffsAdd(("Tree of Life Aura"));
}
示例2: GetBuffsStats
public Stats GetBuffsStats(Character character, CalculationOptionsHealadin calcOpts) {
List<Buff> removedBuffs = new List<Buff>();
List<Buff> addedBuffs = new List<Buff>();
//float hasRelevantBuff;
#region Passive Ability Auto-Fixing
// Removes the Trueshot Aura Buff and it's equivalents Unleashed Rage and Abomination's Might if you are
// maintaining it yourself. We are now calculating this internally for better accuracy and to provide
// value to relevant talents
/*{
hasRelevantBuff = character.HunterTalents.TrueshotAura;
Buff a = Buff.GetBuffByName("Trueshot Aura");
Buff b = Buff.GetBuffByName("Unleashed Rage");
Buff c = Buff.GetBuffByName("Abomination's Might");
if (hasRelevantBuff > 0)
{
if (character.ActiveBuffs.Contains(a)) { character.ActiveBuffs.Remove(a); removedBuffs.Add(a); }
if (character.ActiveBuffs.Contains(b)) { character.ActiveBuffs.Remove(b); removedBuffs.Add(b); }
if (character.ActiveBuffs.Contains(c)) { character.ActiveBuffs.Remove(c); removedBuffs.Add(c); }
}
}*/
#endregion
Stats statsBuffs = GetBuffsStats(character.ActiveBuffs, character.SetBonusCount);
foreach (Buff b in removedBuffs) {
character.ActiveBuffsAdd(b);
}
foreach (Buff b in addedBuffs) {
character.ActiveBuffs.Remove(b);
}
return statsBuffs;
}
示例3: SetDefaults
public override void SetDefaults(Character character)
{
character.ActiveBuffsAdd("Sanctified Retribution");
character.ActiveBuffsAdd("Heroism/Bloodlust");
character.ActiveBuffsAdd("Swift Retribution");
character.ActiveBuffsAdd("Arcane Intellect");
character.ActiveBuffsAdd("Hunting Party");
character.ActiveBuffsAdd("Blessing of Wisdom");
character.ActiveBuffsAdd("Moonkin Form");
character.ActiveBuffsAdd("Wrath of Air Totem");
character.ActiveBuffsAdd("Totem of Wrath (Spell Power)");
character.ActiveBuffsAdd("Divine Spirit");
character.ActiveBuffsAdd("Mark of the Wild");
character.ActiveBuffsAdd("Blessing of Kings");
character.ActiveBuffsAdd("Totem of Wrath");
character.ActiveBuffsAdd("Judgement of Wisdom");
character.ActiveBuffsAdd("Improved Shadow Bolt");
character.ActiveBuffsAdd("Curse of the Elements");
character.ActiveBuffsAdd("Improved Faerie Fire");
character.ActiveBuffsAdd("Flask of the Frost Wyrm");
character.ActiveBuffsAdd("Fish Feast");
}
示例4: SetDefaults
public override void SetDefaults(Character character)
{
character.ActiveBuffsAdd("Arcane Brilliance (Mana)");
character.ActiveBuffsAdd("Blessing of Kings");
character.ActiveBuffsAdd("Blessing of Might (Mp5)");
character.ActiveBuffsAdd("Devotion Aura");
character.ActiveBuffsAdd("Flask of the Draconic Mind");
character.ActiveBuffsAdd("Intellect Food");
character.ActiveBuffsAdd("Power Word: Fortitude");
character.ActiveBuffsAdd("Rampage");
character.ActiveBuffsAdd("Resistance Aura");
character.ActiveBuffsAdd("Totemic Wrath");
character.ActiveBuffsAdd("Vampiric Touch");
character.ActiveBuffsAdd("Wrath of Air Totem");
character.ActiveBuffsAdd("Mana Tide Totem");
}
示例5: CalculationOptionsEnhance
/*public override Stats GetCharacterStats(Character character, Item additionalItem)
{
CalculationOptionsEnhance calcOpts = character.CalculationOptions as CalculationOptionsEnhance ?? new CalculationOptionsEnhance();
BossOptions bossOpts = character.BossOptions;
ShamanTalents talents = character.ShamanTalents;
bool hasAPBuff = false;
foreach (Buff buff in character.ActiveBuffs)
{
if (buff.Group == "Attack Power (%)")
{
hasAPBuff = true;
break;
}
}
StatsEnhance statsTotal = new StatsEnhance()
{
BonusAgilityMultiplier = Character.ValidateArmorSpecialization(character, ItemType.Mail) ? 0.05f : 0f,
BonusAttackPowerMultiplier = (hasAPBuff ? 0f : 0.05f * talents.UnleashedRage),
BonusFireDamageMultiplier = 0.01f * talents.ElementalPrecision,
//BonusFrostDamageMultiplier = 0.01f * talents.ElementalPrecision,
BonusNatureDamageMultiplier = 0.01f * talents.ElementalPrecision,
MovementSpeed = 0.15f / 2f * talents.AncestralSwiftness,
ConcussionMultiplier = 0.02f * talents.Concussion,
ShieldBonus = 0.05f * talents.ImprovedShields,
CallofFlameBonus = 0.1f * talents.CallOfFlame,
WindfuryDamageBonus = 0.2f * talents.ElementalWeapons,
BonusStormstrikeDamageMultiplier = 0.15f * talents.FocusedStrikes,
FTSpellPowerMultiplier = 0.2f * talents.ElementalWeapons,
Expertise = 4f * talents.UnleashedRage,
};
#region Set Bonuses
int T11Count;
character.SetBonusCount.TryGetValue("Battlegear of the Raging Elements", out T11Count);
if (T11Count >= 2)
{
statsTotal.BonusStormstrikeDamageMultiplier = (1f + statsTotal.BonusStormstrikeDamageMultiplier) * (1f + 0.1f) - 1f;
statsTotal.BonusLavalashDamageMultipler = (1f + statsTotal.BonusLavalashDamageMultipler) * (1f + 0.1f) - 1f;
}
if (T11Count >= 4)
{
//
}
#endregion
float FTspellpower = 0f;
if (calcOpts.MainhandImbue == "Flametongue")
FTspellpower += (float)Math.Floor((float)(748f * (1f + statsTotal.FTSpellPowerMultiplier)));
if (calcOpts.OffhandImbue == "Flametongue")
FTspellpower += (float)Math.Floor((float)(748f * (1f + statsTotal.FTSpellPowerMultiplier)));
statsTotal.Accumulate(BaseStats.GetBaseStats(character.Level, character.Class, character.Race));
statsTotal.Accumulate(GetItemStats(character, additionalItem));
AccumulateBuffsStats(statsTotal, character.ActiveBuffs);
statsTotal.Stamina = (float)Math.Floor(statsTotal.Stamina * (1f + statsTotal.BonusStaminaMultiplier));
statsTotal.Strength = (float)Math.Floor(statsTotal.Strength * (1f + statsTotal.BonusStrengthMultiplier));
statsTotal.Agility = (float)Math.Floor(statsTotal.Agility * (1f + statsTotal.BonusAgilityMultiplier));
statsTotal.Intellect = (float)Math.Floor(statsTotal.Intellect * (1f + statsTotal.BonusIntellectMultiplier));
statsTotal.Health += (float)Math.Floor(StatConversion.GetHealthFromStamina(statsTotal.Stamina));
statsTotal.Health = (float)Math.Floor(statsTotal.Health * (1f + statsTotal.BonusHealthMultiplier));
statsTotal.Mana += (float)Math.Floor(StatConversion.GetManaFromIntellect(statsTotal.Intellect));
statsTotal.Mana = (float)Math.Floor(statsTotal.Mana * (1f + statsTotal.BonusManaMultiplier));
statsTotal.AttackPower += statsTotal.Strength + 2f * (statsTotal.Agility - 20f) + 20f;
statsTotal.AttackPower = (float)Math.Floor(statsTotal.AttackPower * (1f + statsTotal.BonusAttackPowerMultiplier));
statsTotal.SpellPower += statsTotal.Intellect + 0.5f * statsTotal.AttackPower + FTspellpower;
statsTotal.SpellPower = (float)Math.Floor(statsTotal.SpellPower * (1f * statsTotal.BonusSpellPowerMultiplier));
StatsSpecialEffects se = new StatsSpecialEffects(character, statsTotal, calcOpts, bossOpts);
statsTotal.Accumulate(se.getSpecialEffects());
return statsTotal;
}*/
#endregion
#region Buff Functions
public override void SetDefaults(Character character)
{
// add shaman buffs
character.ActiveBuffsAdd("Strength of Earth Totem");
character.ActiveBuffsAdd("Windfury Totem");
// add other raid buffs
character.ActiveBuffsAdd("Blessing of Might (AP%)");
character.ActiveBuffsAdd("Arcane Tactics");
character.ActiveBuffsAdd("Commanding Shout");
character.ActiveBuffsAdd("Arcane Brilliance (Mana)");
character.ActiveBuffsAdd("Blessing of Might (Mp5)");
character.ActiveBuffsAdd("Arcane Tactics");
character.ActiveBuffsAdd("Arcane Brilliance (SP%)");
character.ActiveBuffsAdd("Leader of the Pack");
character.ActiveBuffsAdd("Communion");
character.ActiveBuffsAdd("Moonkin Form");
character.ActiveBuffsAdd("Mark of the Wild");
character.ActiveBuffsAdd("Flask of the Winds");
//.........这里部分代码省略.........
示例6: GetBuffsStats
private Stats GetBuffsStats(Character character, CalculationOptionsShadowPriest calcOpts)
{
List<Buff> removedBuffs = new List<Buff>();
List<Buff> addedBuffs = new List<Buff>();
Stats statsBuffs = GetBuffsStats(character.ActiveBuffs, character.SetBonusCount);
foreach (Buff b in removedBuffs)
{
character.ActiveBuffsAdd(b);
}
foreach (Buff b in addedBuffs)
{
character.ActiveBuffs.Remove(b);
}
return statsBuffs;
}
示例7: SetDefaults
public override void SetDefaults(Character character)
{
character.ActiveBuffsAdd("Horn of Winter");
character.ActiveBuffsAdd("Unleashed Rage");
character.ActiveBuffsAdd("Sanctified Retribution");
character.ActiveBuffsAdd("Power Word: Fortitude");
character.ActiveBuffsAdd("Leader of the Pack");
character.ActiveBuffsAdd("Windfury Totem");
character.ActiveBuffsAdd("Blessing of Kings");
character.ActiveBuffsAdd("Shadow Protection");
character.ActiveBuffsAdd("Elemental Resistance Totem");
character.ActiveBuffsAdd("Heroism/Bloodlust");
character.ActiveBuffsAdd("Faerie Fire");
character.ActiveBuffsAdd("Mangle");
character.ActiveBuffsAdd("Savage Combat");
character.ActiveBuffsAdd("Potion of the Tol'vir");
character.ActiveBuffsAdd("Flask of the Winds");
if (character.PrimaryProfession == Profession.Alchemy || character.SecondaryProfession == Profession.Alchemy)
character.ActiveBuffsAdd("Flask of the Winds (Mixology)");
character.ActiveBuffsAdd("Agility Food");
/*character.DruidTalents.GlyphOfBerserk = false;
character.DruidTalents.GlyphOfShred = true;
character.DruidTalents.GlyphOfRip = true;
character.DruidTalents.GlyphOfTigersFury = false;
character.DruidTalents.GlyphOfFeralCharge = false;*/
}
示例8: GetBuffsStats
public Stats GetBuffsStats(Character character, CalculationOptionsProtPaladin calcOpts) {
List<Buff> removedBuffs = new List<Buff>();
List<Buff> addedBuffs = new List<Buff>();
//float hasRelevantBuff;
#region Passive Ability Auto-Fixing
// NOTE: THIS CODE IS FROM DPSWARR, PROTPALADIN MAY MAKE USE OF IT EVENTUALLY TO HANDLE CONFLICTS LIKE CONCENTRATION AURA
// Removes the Trueshot Aura Buff and it's equivalents Unleashed Rage and Abomination's Might if you are
// maintaining it yourself. We are now calculating this internally for better accuracy and to provide
// value to relevant talents
/*{
hasRelevantBuff = character.HunterTalents.TrueshotAura;
Buff a = Buff.GetBuffByName("Trueshot Aura");
Buff b = Buff.GetBuffByName("Unleashed Rage");
Buff c = Buff.GetBuffByName("Abomination's Might");
if (hasRelevantBuff > 0)
{
if (character.ActiveBuffs.Contains(a)) { character.ActiveBuffs.Remove(a); removedBuffs.Add(a); }
if (character.ActiveBuffs.Contains(b)) { character.ActiveBuffs.Remove(b); removedBuffs.Add(b); }
if (character.ActiveBuffs.Contains(c)) { character.ActiveBuffs.Remove(c); removedBuffs.Add(c); }
}
}
// Removes the Hunter's Mark Buff and it's Children 'Glyphed', 'Improved' and 'Both' if you are
// maintaining it yourself. We are now calculating this internally for better accuracy and to provide
// value to relevant talents
{
hasRelevantBuff = character.HunterTalents.ImprovedHuntersMark
+ (character.HunterTalents.GlyphOfHuntersMark ? 1 : 0);
Buff a = Buff.GetBuffByName("Hunter's Mark");
Buff b = Buff.GetBuffByName("Glyphed Hunter's Mark");
Buff c = Buff.GetBuffByName("Improved Hunter's Mark");
Buff d = Buff.GetBuffByName("Improved and Glyphed Hunter's Mark");
// Since we are doing base Hunter's mark ourselves, we still don't want to double-dip
if (character.ActiveBuffs.Contains(a)) { character.ActiveBuffs.Remove(a); /*removedBuffs.Add(a);*//* }
// If we have an enhanced Hunter's Mark, kill the Buff
if (hasRelevantBuff > 0)
{
if (character.ActiveBuffs.Contains(b)) { character.ActiveBuffs.Remove(b); /*removedBuffs.Add(b);*//* }
if (character.ActiveBuffs.Contains(c)) { character.ActiveBuffs.Remove(c); /*removedBuffs.Add(c);*//* }
if (character.ActiveBuffs.Contains(d)) { character.ActiveBuffs.Remove(d); /*removedBuffs.Add(c);*//* }
}
}*/
#endregion
Stats statsBuffs = base.GetBuffsStats(character.ActiveBuffs, character.SetBonusCount);
foreach (Buff b in removedBuffs) {
character.ActiveBuffsAdd(b);
}
foreach (Buff b in addedBuffs)
{
character.ActiveBuffs.Remove(b);
}
return statsBuffs;
}
示例9: GetBuffsStats
//.........这里部分代码省略.........
* MaintBuffHelper(buffGroup, character, removedBuffs);
* }
*/
#endregion
#region Passive Ability Auto-Fixing
// Removes the Trueshot Aura Buff and it's equivalents Unleashed Rage and Abomination's Might if you are
// maintaining it yourself. We are now calculating this internally for better accuracy and to provide
// value to relevant talents
if (character.HunterTalents.TrueshotAura > 0) {
buffGroup.Clear();
buffGroup.Add(Buff.GetBuffByName("Trueshot Aura"));
buffGroup.Add(Buff.GetBuffByName("Unleashed Rage"));
buffGroup.Add(Buff.GetBuffByName("Abomination's Might"));
MaintBuffHelper(buffGroup, character, removedBuffs);
}
// Removes the Ferocious Inspiration Buff and it's equivalents Sanctified Retribution and Arcane Tactics if you are
// maintaining it yourself. We are now calculating this internally for better accuracy and to provide
// value to relevant talents
if (character.HunterTalents.FerociousInspiration > 0) {
buffGroup.Clear();
buffGroup.Add(Buff.GetBuffByName("Ferocious Inspiration"));
buffGroup.Add(Buff.GetBuffByName("Sanctified Retribution"));
buffGroup.Add(Buff.GetBuffByName("Arcane Tactics"));
MaintBuffHelper(buffGroup, character, removedBuffs);
}
// Removes the Hunting Party Buff and it's equivalents Improved Icy Talons and Windfury Totem if you are
// maintaining it yourself. We are now calculating this internally for better accuracy and to provide
// value to relevant talents
if (character.HunterTalents.HuntingParty > 0)
{
buffGroup.Clear();
buffGroup.Add(Buff.GetBuffByName("Hunting Party"));
buffGroup.Add(Buff.GetBuffByName("Improved Icy Talons"));
buffGroup.Add(Buff.GetBuffByName("Windfury Totem"));
MaintBuffHelper(buffGroup, character, removedBuffs);
}
// Removes the Hunter's Mark if you are
// maintaining it yourself. We are now calculating this internally for better accuracy and to provide
// value to relevant talents
buffGroup.Clear();
buffGroup.Add(Buff.GetBuffByName("Hunter's Mark"));
MaintBuffHelper(buffGroup, character, removedBuffs);
#endregion
StatsHunter statsBuffs = new StatsHunter();
statsBuffs.Accumulate(GetBuffsStats(character.ActiveBuffs));
AccumulateSetBonusStats(statsBuffs, character.SetBonusCount);
#region PvP Set Bonus
int PvPcount;
character.SetBonusCount.TryGetValue("Gladiator's Pursuit", out PvPcount);
if (PvPcount >= 2)
{
statsBuffs.Resilience += 400f;
statsBuffs.Agility += 70f;
}
if (PvPcount >= 4)
{
statsBuffs.BonusFocusRegenMultiplier = 0.05f;
statsBuffs.Agility += 90f;
}
#endregion
#region Tier 11 Set Bonus
int T11count;
character.SetBonusCount.TryGetValue("Lightning-Charged Battlegear", out T11count);
if (T11count >= 2)
{
statsBuffs.BonusSerpentStingCritChance = 0.05f;
}
if (T11count >= 4)
{
statsBuffs.FourPieceTier11 = 0.2f;
}
#endregion
#region Tier 12 Set Bonus
int T12count;
character.SetBonusCount.TryGetValue("Flamewaker's Battlegear", out T12count);
if (T12count >= 2)
{
statsBuffs.AddSpecialEffect(_SE_2T12_cs);
statsBuffs.AddSpecialEffect(_SE_2T12_ss);
}
if (T12count >= 4)
{
statsBuffs.AddSpecialEffect(_SE_4T12);
}
#endregion
foreach (Buff b in removedBuffs) { character.ActiveBuffsAdd(b); }
foreach (Buff b in addedBuffs) { character.ActiveBuffs.Remove(b); }
return statsBuffs;
}
示例10: SetDefaults
public override void SetDefaults(Character character)
{
character.ActiveBuffsAdd("Arcane Tactics");
character.ActiveBuffsAdd("Power Word: Fortitude");
character.ActiveBuffsAdd("Swift Retribution");
character.ActiveBuffsAdd("Arcane Brilliance (Mana)");
character.ActiveBuffsAdd("Blessing of Might (Mp5)");
character.ActiveBuffsAdd("Totemic Wrath");
character.ActiveBuffsAdd("Elemental Oath");
character.ActiveBuffsAdd("Vampiric Touch");
//if (character.MageTalents.FocusMagic == 1) { character.ActiveBuffsAdd("Focus Magic"); }
character.ActiveBuffsAdd("Wrath of Air Totem");
character.ActiveBuffsAdd("Blessing of Kings");
character.ActiveBuffsAdd("Concentration Aura");
character.ActiveBuffsAdd("Ebon Plaguebringer");
character.ActiveBuffsAdd("Critical Mass");
character.ActiveBuffsAdd("Flask of the Draconic Mind");
character.ActiveBuffsAdd("Intellect Food");
}
示例11: SetDefaults
public override void SetDefaults(Character character)
{
character.ActiveBuffsAdd("Battle Shout");
character.ActiveBuffsAdd("Devotion Aura");
character.ActiveBuffsAdd("Ancestral Healing");
character.ActiveBuffsAdd("Trueshot Aura");
character.ActiveBuffsAdd("Ferocious Inspiration");
character.ActiveBuffsAdd("Power Word: Fortitude");
character.ActiveBuffsAdd("Rampage");
character.ActiveBuffsAdd("Windfury Totem");
character.ActiveBuffsAdd("Blessing of Kings");
character.ActiveBuffsAdd("Sunder Armor");
character.ActiveBuffsAdd("Demoralizing Shout");
character.ActiveBuffsAdd("Mangle");
character.ActiveBuffsAdd("Thunder Clap");
character.ActiveBuffsAdd("Flask of Steelskin");
if (character.PrimaryProfession == Profession.Alchemy || character.SecondaryProfession == Profession.Alchemy)
character.ActiveBuffsAdd("Flask of Steelskin (Mixology)");
character.ActiveBuffsAdd("Mastery Food");
#region Boss Options
// Never in back of the Boss
character.BossOptions.InBack = false;
int avg = character.AvgWornItemLevel;
int[] points = new int[] { 350, 358, 365 };
#region Need a Boss Attack
character.BossOptions.DamagingTargs = true;
if (character.BossOptions.DefaultMeleeAttack == null) {
character.BossOptions.Attacks.Add(BossHandler.ADefaultMeleeAttack);
}
if (avg <= points[0]) {
character.BossOptions.Health = 20000000;
character.BossOptions.DefaultMeleeAttack.DamagePerHit = BossHandler.StandardMeleePerHit[(int)BossHandler.TierLevels.T11_10];
} else if (avg <= points[1]) {
character.BossOptions.Health = 35000000;
character.BossOptions.DefaultMeleeAttack.DamagePerHit = BossHandler.StandardMeleePerHit[(int)BossHandler.TierLevels.T11_25];
} else if (avg <= points[2]) {
character.BossOptions.Health = 50000000;
character.BossOptions.DefaultMeleeAttack.DamagePerHit = BossHandler.StandardMeleePerHit[(int)BossHandler.TierLevels.T11_10H];
} else if (avg > points[2]) {
character.BossOptions.Health = 65000000;
character.BossOptions.DefaultMeleeAttack.DamagePerHit = BossHandler.StandardMeleePerHit[(int)BossHandler.TierLevels.T11_25H];
}
#endregion
#endregion
}
示例12: SetDefaults
public override void SetDefaults(Character character)
{
character.ActiveBuffsAdd(("Arcane Tactics"));
character.ActiveBuffsAdd(("Arcane Brilliance (Mana)"));
character.ActiveBuffsAdd(("Arcane Brilliance (SP%)"));
character.ActiveBuffsAdd(("Blessing of Might (Mp5)"));
character.ActiveBuffsAdd(("Moonkin Form"));
character.ActiveBuffsAdd(("Elemental Oath"));
character.ActiveBuffsAdd(("Enduring Winter"));
character.ActiveBuffsAdd(("Power Word: Fortitude"));
character.ActiveBuffsAdd(("Mark of the Wild"));
character.ActiveBuffsAdd(("Earth and Moon"));
character.ActiveBuffsAdd(("Critical Mass"));
character.ActiveBuffsAdd(("Heroism/Bloodlust"));
character.ActiveBuffsAdd(("Power Infusion"));
character.ActiveBuffsAdd(("Flask of the Draconic Mind"));
character.ActiveBuffsAdd(("Intellect Food"));
}
示例13: SetDefaults
public override void SetDefaults(Character character)
{
character.ActiveBuffsAdd(("Horn of Winter"));
character.ActiveBuffsAdd(("Battle Shout"));
character.ActiveBuffsAdd(("Unleashed Rage"));
character.ActiveBuffsAdd(("Improved Moonkin Form"));
character.ActiveBuffsAdd(("Leader of the Pack"));
character.ActiveBuffsAdd(("Improved Icy Talons"));
character.ActiveBuffsAdd(("Power Word: Fortitude"));
character.ActiveBuffsAdd(("Mark of the Wild"));
character.ActiveBuffsAdd(("Blessing of Kings"));
character.ActiveBuffsAdd(("Sunder Armor"));
character.ActiveBuffsAdd(("Faerie Fire"));
character.ActiveBuffsAdd(("Totem of Wrath"));
character.ActiveBuffsAdd(("Flask of Endless Rage"));
character.ActiveBuffsAdd(("Agility Food"));
character.ActiveBuffsAdd(("Heroism/Bloodlust"));
if (character.PrimaryProfession == Profession.Alchemy ||
character.SecondaryProfession == Profession.Alchemy)
character.ActiveBuffsAdd(("Flask of Endless Rage (Mixology)"));
// Need to be behind boss
character.BossOptions.InBack = true;
character.BossOptions.InBackPerc_Melee = 1.00d;
}
示例14: SetDefaults
/// <summary>
/// Buffs that will be enabled by default in the given character object
/// </summary>
public override void SetDefaults(Character character)
{
character.ActiveBuffsAdd("Horn of Winter");
character.ActiveBuffsAdd("Blessing of Might (AP%)");
character.ActiveBuffsAdd("Elemental Oath");
character.ActiveBuffsAdd("Arcane Tactics");
character.ActiveBuffsAdd("Improved Icy Talons");
character.ActiveBuffsAdd("Power Word: Fortitude");
character.ActiveBuffsAdd("Totemic Wrath");
character.ActiveBuffsAdd("Arcane Brilliance (Mana)");
character.ActiveBuffsAdd("Critical Mass");
character.ActiveBuffsAdd("Wrath of Air Totem");
character.ActiveBuffsAdd("Blessing of Kings");
character.ActiveBuffsAdd("Sunder Armor");
character.ActiveBuffsAdd("Blood Frenzy");
character.ActiveBuffsAdd("Shadow and Flame");
character.ActiveBuffsAdd("Curse of the Elements");
character.ActiveBuffsAdd("Strength Food");
character.ActiveBuffsAdd("Flask of Titanic Strength");
if (character.PrimaryProfession == Profession.Alchemy || character.SecondaryProfession == Profession.Alchemy)
character.ActiveBuffsAdd("Flask of Titanic Strength (Mixology)");
// Need to be behind boss
character.BossOptions.InBack = true;
character.BossOptions.InBackPerc_Melee = 1.00d;
}
示例15: SetDefaults
public const float AVG_UNHASTED_CAST_TIME = 2f; // total SWAG
public override void SetDefaults(Character character)
{
character.ActiveBuffsAdd("Fel Armor");
}