本文整理汇总了C#中Spell.uptimeFactor方法的典型用法代码示例。如果您正苦于以下问题:C# Spell.uptimeFactor方法的具体用法?C# Spell.uptimeFactor怎么用?C# Spell.uptimeFactor使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Spell
的用法示例。
在下文中一共展示了Spell.uptimeFactor方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: calculateDPS
//.........这里部分代码省略.........
averageDoTBaseDamage: 0,
SPDirectScaling: 0.4793,
numOfTicks: 0);
Haunt.applyCastTimeFactor(castTimeLostFactorAffli);
Haunt.applyGCD(gcd);
Spell IncinerateMoltenCore = new Spell(SpellName.IncinerateMoltenCore, Destruction,
directSpellSchool: Fire,
baseCasttime: 2.5,
flatCasttimeReduction: 0.05 * emberstorm.pointsSpend,
percentualCasttimeReduction: 10 * moltenCore.pointsSpend,
hasteFactor: hasteFactor,
manaCostOfBaseMana: 0.14,
requiredBuffUptimeFactor: 0,
averageDirectBaseDamage: 629.5,
SPDirectScaling: 0.7139,
directDamageFactor: 1 + (0.06 * moltenCore.pointsSpend));
IncinerateMoltenCore.applyCastTimeFactor(castTimeLostFactorDestro);
IncinerateMoltenCore.applyGCD(gcd);
Spell DemonicEmpowerment = new Spell(SpellName.DemonicEmpowerment, Demonology);
Spell Metamorphosis = new Spell(SpellName.Metamorphosis, Demonology,
duration: metamorphosis.pointsSpend > 0 ? (glyphOfMetamorphosis ? 36 : 30) : 0,
cooldown: 180 * (1 - (0.1 * nemesis.pointsSpend)));
Spell ImmolationAura = new Spell(SpellName.ImmolationAura, Demonology,
DoTSpellSchool: Fire,
duration: 15,
hasteAffectsDuration: true,
hasteFactor: hasteFactor,
cooldown: 30,
manaCostOfBaseMana: 0.64,
requiredBuffUptimeFactor: Metamorphosis.uptimeFactor(),
averageDoTBaseDamage: 251,
SPDoTScaling: 0, //CHECK
numOfTicks: 15);
ImmolationAura.applyGCD(gcd);
Spell ShadowCleave = new Spell(SpellName.ShadowCleave, Demonology,
directSpellSchool: Shadow,
cooldown: 6,
manaCostOfBaseMana: 0.04,
requiredBuffUptimeFactor: Metamorphosis.uptimeFactor(),
averageDirectBaseDamage: 110,
SPDirectScaling: 0); //CHECK seems to be 1, but prolly not exactly 1
Spell Shadowburn = new Spell(SpellName.Shadowburn, Destruction,
cooldown: 10, //CHECK!
manaCostOfBaseMana: 0.2,
requiredBuffUptimeFactor: 1,
reagent: Reagent.Soulshard,
averageDirectBaseDamage: 820.5,
SPDirectScaling: 0.4293);
Shadowburn.applyGCD(gcd);
Spell ShadowburnGlyphed = new Spell(SpellName.ShadowburnGlyphed,Destruction,
cooldown: 10, //CHECK!
manaCostOfBaseMana: 0.2,
requiredBuffUptimeFactor: 0,
reagent: Reagent.Soulshard,
averageDirectBaseDamage: 820.5,
SPDirectScaling: 0.4293,
directCritChance: 20);
ShadowburnGlyphed.applyGCD(gcd);