public override bool Replaces( BaseAttrInfo otherAttr ) { Type otherType = otherAttr.GetType(); foreach ( Type type in Imbuing.HitSpellTypes ) { if ( otherType == type ) return true; } return false; }
public override bool Replaces(BaseAttrInfo otherAttr) { Type otherType = otherAttr.GetType(); foreach (Type type in Imbuing.HitAreaTypes) { if (otherType == type) { return(true); } } return(false); }
// Return true if this property replaces otherAttr property. public virtual bool Replaces(BaseAttrInfo otherAttr) { return(this.GetType() == otherAttr.GetType()); }
// Return true if this property replaces otherAttr property. public virtual bool Replaces( BaseAttrInfo otherAttr ) { return this.GetType() == otherAttr.GetType(); }