Fixed appearance validation

Implemented proper facial hair validation
Implemented transmog Set
fix interaction of spells like Shadowmeld with Threat reducing effects
This commit is contained in:
hondacrx
2017-08-24 18:01:44 -04:00
parent 7934d51702
commit 0707f9b377
71 changed files with 2968 additions and 632 deletions
+3 -1
View File
@@ -76,7 +76,8 @@ namespace Framework.Constants
Player = 0x1,
Account = 0x2,
Guild = 0x4,
Scenario = 0x8
Scenario = 0x8,
QuestObjective = 0x10
}
public enum CriteriaCondition
@@ -398,6 +399,7 @@ namespace Framework.Constants
// 202 - 0 criterias (Legion - 23420)
CompleteWorldQuest = 203,
// 204 - Special criteria type to award players for some external events? Comes with what looks like an identifier, so guessing it's not unique.
TransmogSetUnlocked = 205,
TotalTypes = 208
}
+17 -1
View File
@@ -899,6 +899,20 @@ namespace Framework.Constants
Max
}
public enum CharBaseSectionVariation : byte
{
Skin = 0,
Face = 1,
FacialHair = 2,
Hair = 3,
Underwear = 4,
CustomDisplay1 = 5,
CustomDisplay2 = 6,
CustomDisplay3 = 7,
Max
}
public enum CharSectionFlags
{
Player = 0x01,
@@ -923,7 +937,9 @@ namespace Framework.Constants
CustomDisplay2LowRes = 12,
CustomDisplay2 = 13,
CustomDisplay3LowRes = 14,
CustomDisplay3 = 15
CustomDisplay3 = 15,
Max
}
public enum ChrSpecializationFlag
+1 -1
View File
@@ -92,7 +92,7 @@ namespace Framework.Constants
CreatureTemplateVehicle = 16,
Spell = 17,
SpellClickEvent = 18,
QuestAccept = 19,
QuestAvailable = 19,
// Condition source type 20 unused
VehicleSpell = 21,
SmartEvent = 22,
+2 -2
View File
@@ -23,8 +23,8 @@ namespace Framework.Constants
public const int MaxBankSlots = 98;
public const int BankMoneyLogsTab = 100;
public const int WithdrawMoneyUnlimited = -1;
public const int WithdrawSlotUnlimited = -1;
public const uint WithdrawMoneyUnlimited = 0xFFFFFFFF;
public const uint WithdrawSlotUnlimited = 0xFFFFFFFF;
public const uint EventLogGuidUndefined = 0xFFFFFFFF;
public const uint ChallengesTypes = 6;
+1 -1
View File
@@ -30,7 +30,7 @@ namespace Framework.Constants
public const int ReqPrimaryTreeTalents = 31;
public const int ExploredZonesSize = 256;
public const long MaxMoneyAmount = long.MaxValue;
public const ulong MaxMoneyAmount = ulong.MaxValue;
public const int MaxActionButtons = 132;
public const int MaxActionButtonActionValue = 0x00FFFFFF + 1;
+1 -1
View File
@@ -132,7 +132,7 @@ namespace Framework.Constants
AddPctModifier = 108,
AddTargetTrigger = 109,
ModPowerRegenPercent = 110,
AddCasterHitTrigger = 111,
InterceptMeleeRangedAttacks = 111,
OverrideClassScripts = 112,
ModRangedDamageTaken = 113,
ModRangedDamageTakenPct = 114,