Beispiel #1
0
 public void RemoveBuff(ModuleBuff buff)
 {
     foreach (string effect in buff.AllEffects)
     {
         if (this.allSegments.ContainsKey(effect))
         {
             this.allSegments[effect].RemoveBuff(buff);
         }
     }
     this.Update(buff.m_BuffType);
 }
Beispiel #2
0
 public float AddAfter(ModuleBuff buff, int i)
 {
     return((!this.m_NeedsToBeAnchored[i] || buff.block.tank.IsAnchored) ? this.m_AddAfter[i] : 0.0f);
 }
Beispiel #3
0
 public float Strength(ModuleBuff buff, int i)
 {
     return((!this.m_NeedsToBeAnchored[i] || buff.block.tank.IsAnchored) ? this.m_Strength[i] : 1.0f);
 }
Beispiel #4
0
 public void RemoveBuff(ModuleBuff buff)
 {
     this.effectBuffBlocks.Remove(buff);
 }
Beispiel #5
0
 public void AddBuff(ModuleBuff buff)
 {
     this.effectBuffBlocks.Add(buff, buff.GetEffect(this.effectType));
 }