Пример #1
0
 public override bool StatEquals(Effect other)
 {
     return(other is IStat stat && other.GetType() == GetType() && stat.Stat == Stat);
 }
Пример #2
0
 public override bool StatEquals(Effect other)
 {
     return(other is Stackable stat && other.GetType() == GetType() && stat.Stat == Stat && stat.Holder == Holder);
 }
Пример #3
0
 public override bool StatEquals(Effect other)
 {
     return(other is Special stat && other.GetType() == GetType() && stat.Stat == Stat && stat.Tag == Tag);
 }
Пример #4
0
 public override bool StatEquals(Effect other)
 {
     return(other is EffectStatPercentBase stat && stat.Stat == Stat);
 }