示例#1
0
 protected void AddDamageTakenLog(long time, CombatItem c, BoonsContainer boons)
 {
     if (c.IsBuff != 0)
     {
         //inco,ing condi dmg not working or just not present?
         // damagetaken.Add(c.getBuffDmg());
         _damageTakenlogs.Add(new DamageLogCondition(time, c, boons));
     }
     else if (c.IsBuff == 0)
     {
         _damageTakenlogs.Add(new DamageLogPower(time, c));
     }
 }
示例#2
0
 // privates
 protected void AddDamageLog(long time, CombatItem c, BoonsContainer boons)
 {
     if (c.IFF == ParseEnum.IFF.Friend)
     {
         return;
     }
     if (c.IsBuff != 0)//condi
     {
         DamageLogs.Add(new DamageLogCondition(time, c, boons));
     }
     else if (c.IsBuff == 0)//power
     {
         DamageLogs.Add(new DamageLogPower(time, c));
     }
 }
示例#3
0
 public BoonSourceFinder05032019(BoonsContainer boons) : base(boons)
 {
     ExtensionIDS = new HashSet <long>()
     {
         10236,
         51696,
         29453
     };
     DurationToIDs = new Dictionary <long, HashSet <long> >
     {
         { 3000, new HashSet <long> {
               51696, 10236, 29453
           } },                                                // SoI, Treated TN, SandSquall
         { 2000, new HashSet <long> {
               51696
           } },                                // TN
     };
     EssenceOfSpeed = 2000;
     ImbuedMelodies = 2000;
 }
 protected BoonSourceFinder(BoonsContainer boons)
 {
     _boonIds = new HashSet <long>(boons.BoonsByNature[Boon.BoonNature.Boon].Select(x => x.ID));
 }