예제 #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);
 }
예제 #2
0
 public float AddAfter(ModuleBuff buff, int i)
 {
     return((!this.m_NeedsToBeAnchored[i] || buff.block.tank.IsAnchored) ? this.m_AddAfter[i] : 0.0f);
 }
예제 #3
0
 public float Strength(ModuleBuff buff, int i)
 {
     return((!this.m_NeedsToBeAnchored[i] || buff.block.tank.IsAnchored) ? this.m_Strength[i] : 1.0f);
 }
예제 #4
0
 public void RemoveBuff(ModuleBuff buff)
 {
     this.effectBuffBlocks.Remove(buff);
 }
예제 #5
0
 public void AddBuff(ModuleBuff buff)
 {
     this.effectBuffBlocks.Add(buff, buff.GetEffect(this.effectType));
 }