Misc fixes
This commit is contained in:
@@ -263,7 +263,7 @@ public class Log
|
|||||||
if (level < lowestLogLevel)
|
if (level < lowestLogLevel)
|
||||||
lowestLogLevel = level;
|
lowestLogLevel = level;
|
||||||
|
|
||||||
Logger logger = new Logger(name, level);
|
Logger logger = new(name, level);
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
var ss = new StringArray(tokens[1], ' ');
|
var ss = new StringArray(tokens[1], ' ');
|
||||||
@@ -348,8 +348,8 @@ public class Log
|
|||||||
appender.setRealmId(id);
|
appender.setRealmId(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Dictionary<byte, Appender> appenders = new Dictionary<byte, Appender>();
|
static Dictionary<byte, Appender> appenders = new();
|
||||||
static Dictionary<LogFilter, Logger> loggers = new Dictionary<LogFilter, Logger>();
|
static Dictionary<LogFilter, Logger> loggers = new();
|
||||||
static string m_logsDir;
|
static string m_logsDir;
|
||||||
static byte AppenderId;
|
static byte AppenderId;
|
||||||
|
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ namespace Game.Chat
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
handler.SendSysMessage(CypherStrings.CommandQuestNotfound);
|
handler.SendSysMessage(CypherStrings.CommandQuestNotfound, entry);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3169,9 +3169,6 @@ namespace Game.Spells
|
|||||||
if (unitTarget == null || !unitTarget.IsTypeId(TypeId.Unit))
|
if (unitTarget == null || !unitTarget.IsTypeId(TypeId.Unit))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (RandomHelper.randChance(50)) // chance unknown, using 50
|
|
||||||
return;
|
|
||||||
|
|
||||||
uint[] spellPlayer = new uint[5]
|
uint[] spellPlayer = new uint[5]
|
||||||
{
|
{
|
||||||
45674, // Bigger!
|
45674, // Bigger!
|
||||||
|
|||||||
@@ -3297,6 +3297,7 @@ namespace Game.Spells
|
|||||||
case 72410: // Rune of Blood, Saurfang, Icecrown Citadel
|
case 72410: // Rune of Blood, Saurfang, Icecrown Citadel
|
||||||
case 71204: // Touch of Insignificance, Lady Deathwhisper, Icecrown Citadel
|
case 71204: // Touch of Insignificance, Lady Deathwhisper, Icecrown Citadel
|
||||||
return false;
|
return false;
|
||||||
|
case 24732: // Bat Costume
|
||||||
case 30877: // Tag Murloc
|
case 30877: // Tag Murloc
|
||||||
case 61716: // Rabbit Costume
|
case 61716: // Rabbit Costume
|
||||||
case 61734: // Noblegarden Bunny
|
case 61734: // Noblegarden Bunny
|
||||||
|
|||||||
@@ -505,20 +505,6 @@ namespace Scripts.World.GameObjects
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Script]
|
|
||||||
class go_sacred_fire_of_life : GameObjectAI
|
|
||||||
{
|
|
||||||
public go_sacred_fire_of_life(GameObject go) : base(go) { }
|
|
||||||
|
|
||||||
public override bool GossipHello(Player player)
|
|
||||||
{
|
|
||||||
if (me.GetGoType() == GameObjectTypes.Goober)
|
|
||||||
player.SummonCreature(CreatureIds.Arikara, -5008.338f, -2118.894f, 83.657f, 0.874f, TempSummonType.TimedDespawnOutOfCombat, 30000);
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[Script]
|
[Script]
|
||||||
class go_shrine_of_the_birds : GameObjectAI
|
class go_shrine_of_the_birds : GameObjectAI
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user