Implement SPELL_ATTR0_ON_NEXT_SWING_2
Misc. Fixes
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Framework.Constants
|
|||||||
public const int BankMoneyLogsTab = 100;
|
public const int BankMoneyLogsTab = 100;
|
||||||
|
|
||||||
public const uint WithdrawMoneyUnlimited = 0xFFFFFFFF;
|
public const uint WithdrawMoneyUnlimited = 0xFFFFFFFF;
|
||||||
public const uint WithdrawSlotUnlimited = 0xFFFFFFFF;
|
public const int WithdrawSlotUnlimited = -1;
|
||||||
public const uint EventLogGuidUndefined = 0xFFFFFFFF;
|
public const uint EventLogGuidUndefined = 0xFFFFFFFF;
|
||||||
|
|
||||||
public const uint ChallengesTypes = 6;
|
public const uint ChallengesTypes = 6;
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ public static class MathFunctions
|
|||||||
|
|
||||||
public static int RoundToInterval(ref int num, dynamic floor, dynamic ceil)
|
public static int RoundToInterval(ref int num, dynamic floor, dynamic ceil)
|
||||||
{
|
{
|
||||||
return num = Math.Min(Math.Max(num, floor), ceil);
|
return num = (int)Math.Min(Math.Max(num, floor), ceil);
|
||||||
}
|
}
|
||||||
public static uint RoundToInterval(ref uint num, dynamic floor, dynamic ceil)
|
public static uint RoundToInterval(ref uint num, dynamic floor, dynamic ceil)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6395,7 +6395,7 @@ namespace Game.Spells
|
|||||||
|
|
||||||
bool IsNextMeleeSwingSpell()
|
bool IsNextMeleeSwingSpell()
|
||||||
{
|
{
|
||||||
return m_spellInfo.HasAttribute(SpellAttr0.OnNextSwing);
|
return m_spellInfo.HasAttribute(SpellAttr0.OnNextSwing | SpellAttr0.OnNextSwing2);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsAutoActionResetSpell()
|
bool IsAutoActionResetSpell()
|
||||||
|
|||||||
Reference in New Issue
Block a user