public static bool Execute(MobileInstance ch, IManager dbManager) { if (!ch.IsInCombatPosition()) { return(false); } var bits = SmaugRandom.Bits(3); return(bits == 2 ? Dragon.Execute(ch, "lightning breath", dbManager) : Dragon.Execute(ch, BreathTable.ContainsKey(bits) ? BreathTable[bits] : "frost breath", dbManager)); }
public static bool Execute(MobileInstance ch, IManager dbManager) { return(Dragon.Execute(ch, "lightning breath", dbManager)); }