Defined TARGET_GAMEOBJECT_CONE_109

Fixed SpellPowerEntry structure * ManaCosts are signed
This commit is contained in:
hondacrx
2017-07-27 17:31:01 -04:00
parent 2ec2dcf043
commit 3bc1b07889
4 changed files with 6 additions and 18 deletions
+2 -2
View File
@@ -408,7 +408,7 @@ namespace Game.DataStorage
public sealed class SpellPowerRecord
{
public uint SpellID;
public uint ManaCost;
public int ManaCost;
public float ManaCostPercentage;
public float ManaCostPercentagePerSecond;
public uint RequiredAura;
@@ -418,7 +418,7 @@ namespace Game.DataStorage
public uint Id;
public int ManaCostPerLevel;
public int ManaCostPerSecond;
public uint ManaCostAdditional; // Spell uses [ManaCost, ManaCost+ManaCostAdditional] power - affects tooltip parsing as multiplier on SpellEffectEntry::EffectPointsPerResource
public int ManaCostAdditional; // Spell uses [ManaCost, ManaCost+ManaCostAdditional] power - affects tooltip parsing as multiplier on SpellEffectEntry::EffectPointsPerResource
// only SPELL_EFFECT_WEAPON_DAMAGE_NOSCHOOL, SPELL_EFFECT_WEAPON_PERCENT_DAMAGE, SPELL_EFFECT_WEAPON_DAMAGE, SPELL_EFFECT_NORMALIZED_WEAPON_DMG
public uint PowerDisplayID;
public uint UnitPowerBarID;