public override void Refresh() { essence = new ShadowEssence(); EssenceGainPseudoChance = EssenceGainChance; base.Refresh(); }
protected override bool SetSkillEffectValues(CharacterStats player, Stats enemy) { essence = Buff.AddBuff <ShadowEssence>(player); int damage = Power(player, enemy) * essence.Stacks; SkillEffectValues = new EffectValues(damage, source: this); return(true); }
protected override void SkillEffect(CharacterStats player, Stats enemy) { if (Utility.GetPseudoChance(EssenceGainChance, ref EssenceGainPseudoChance)) { essence = Buff.AddBuff <ShadowEssence>(player); essence.SetStacks(); // Add one stack essence.WriteStacks(); } }
protected override void SkillEffect(CharacterStats player, Stats enemy) { essence = Buff.AddBuff <ShadowEssence>(player); essence.SetStacks(StackGain); essence.WriteStacks(); }
public override void Refresh() { essence = new ShadowEssence(); base.Refresh(); }