Misc fixes
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
CypherCore is an open source server project for World of Warcraft written in C#.
|
CypherCore is an open source server project for World of Warcraft written in C#.
|
||||||
|
|
||||||
The current support game version is: 10.0.7.49343
|
The current support game version is: 10.1.0.49474
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
* .NET 7.0 SDK [Download](https://dotnet.microsoft.com/en-us/download/dotnet/7.0)
|
* .NET 7.0 SDK [Download](https://dotnet.microsoft.com/en-us/download/dotnet/7.0)
|
||||||
|
|||||||
@@ -544,6 +544,7 @@ namespace Framework.Constants
|
|||||||
Unk534 = 534,
|
Unk534 = 534,
|
||||||
Unk535 = 535,
|
Unk535 = 535,
|
||||||
IgnoreSpellCreatureTypeRequirements = 536,
|
IgnoreSpellCreatureTypeRequirements = 536,
|
||||||
|
Unk537 = 537,
|
||||||
Total
|
Total
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -389,7 +389,7 @@ namespace Game.DataStorage
|
|||||||
foreach (var entry in TaxiPathNodeStorage.Values)
|
foreach (var entry in TaxiPathNodeStorage.Values)
|
||||||
TaxiPathNodesByPath[entry.PathID][entry.NodeIndex] = entry;
|
TaxiPathNodesByPath[entry.PathID][entry.NodeIndex] = entry;
|
||||||
|
|
||||||
var taxiMaskSize = ((TaxiNodesStorage.GetNumRows() - 1) / (8 * 64) + 1) * 8;
|
var taxiMaskSize = ((TaxiNodesStorage.GetNumRows() - 1) / (1 * 64) + 1) * 8;
|
||||||
TaxiNodesMask = new byte[taxiMaskSize];
|
TaxiNodesMask = new byte[taxiMaskSize];
|
||||||
OldContinentsNodesMask = new byte[taxiMaskSize];
|
OldContinentsNodesMask = new byte[taxiMaskSize];
|
||||||
HordeTaxiNodesMask = new byte[taxiMaskSize];
|
HordeTaxiNodesMask = new byte[taxiMaskSize];
|
||||||
|
|||||||
@@ -3371,7 +3371,13 @@ namespace Game.Entities
|
|||||||
WorldCfg.RatePowerArcaneCharges,
|
WorldCfg.RatePowerArcaneCharges,
|
||||||
WorldCfg.RatePowerFury,
|
WorldCfg.RatePowerFury,
|
||||||
WorldCfg.RatePowerPain,
|
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)
|
if (RatesForPower[(int)power] != 0)
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace Game.Entities
|
|||||||
|
|
||||||
public void InitTaxiNodesForLevel(Race race, Class chrClass, uint level)
|
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
|
// class specific initial known nodes
|
||||||
if (chrClass == Class.Deathknight)
|
if (chrClass == Class.Deathknight)
|
||||||
@@ -93,7 +93,7 @@ namespace Game.Entities
|
|||||||
|
|
||||||
public void LoadTaxiMask(string data)
|
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, ' ');
|
var split = new StringArray(data, ' ');
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ namespace Game.Spells
|
|||||||
[SpellEffectHandler(SpellEffectName.Attack)]
|
[SpellEffectHandler(SpellEffectName.Attack)]
|
||||||
[SpellEffectHandler(SpellEffectName.ThreatAll)]
|
[SpellEffectHandler(SpellEffectName.ThreatAll)]
|
||||||
[SpellEffectHandler(SpellEffectName.Effect112)]
|
[SpellEffectHandler(SpellEffectName.Effect112)]
|
||||||
[SpellEffectHandler(SpellEffectName.TeleportGraveyard)]
|
|
||||||
[SpellEffectHandler(SpellEffectName.Effect122)]
|
[SpellEffectHandler(SpellEffectName.Effect122)]
|
||||||
[SpellEffectHandler(SpellEffectName.Effect175)]
|
[SpellEffectHandler(SpellEffectName.Effect175)]
|
||||||
[SpellEffectHandler(SpellEffectName.Effect178)]
|
[SpellEffectHandler(SpellEffectName.Effect178)]
|
||||||
|
|||||||
Reference in New Issue
Block a user