public static bool CanAttack(
if (attacker.Name == "Thundercloud") { if (attacker.PKMode != Game.Enums.PKMode.PK && attacker.PKMode != Game.Enums.PKMode.Team) return false; }
#region ThunderCloud if (attacked.Name == "Thundercloud") { if (attacked.OwnerUID == attacker.UID) return false; if (!Constants.PKForbiddenMaps.Contains(attacker.MapID)) { if (attacker.PKMode != Game.Enums.PKMode.PK && attacker.PKMode != Game.Enums.PKMode.Team) return false; else { attacker.AddFlag((ulong)Network.GamePackets.MsgUpdate.Flags.FlashingName); attacker.FlashingNameStamp = Time32.Now; attacker.FlashingNameTime = 20; return true; } } else return false; } #endregion