Misc fixes

This commit is contained in:
hondacrx
2023-05-21 19:01:22 -04:00
parent c260ed1602
commit dc0bf68c6f
6 changed files with 12 additions and 6 deletions
+7 -1
View File
@@ -3371,7 +3371,13 @@ namespace Game.Entities
WorldCfg.RatePowerArcaneCharges,
WorldCfg.RatePowerFury,
WorldCfg.RatePowerPain,
0 // todo add config for Essence power
0, // todo add config for Essence power
0,
0,
0,
0,
0,
0
};
if (RatesForPower[(int)power] != 0)
+2 -2
View File
@@ -19,7 +19,7 @@ namespace Game.Entities
public void InitTaxiNodesForLevel(Race race, Class chrClass, uint level)
{
m_taximask = new byte[((CliDB.TaxiNodesStorage.GetNumRows() - 1) / (8 * 64) + 1) * 8];
m_taximask = new byte[((CliDB.TaxiNodesStorage.GetNumRows() - 1) / (1 * 64) + 1) * 8];
// class specific initial known nodes
if (chrClass == Class.Deathknight)
@@ -93,7 +93,7 @@ namespace Game.Entities
public void LoadTaxiMask(string data)
{
m_taximask = new byte[((CliDB.TaxiNodesStorage.GetNumRows() - 1) / (8 * 64) + 1) * 8];
m_taximask = new byte[((CliDB.TaxiNodesStorage.GetNumRows() - 1) / (1 * 64) + 1) * 8];
var split = new StringArray(data, ' ');