Jump to content

[fix][dev]Fingers of Frost, Aura 262


Auntie Mangos

Recommended Posts

warrior still can use Charge in combat after talent reseting if Juggernaut was taken in previous talent build - it's a big exploit for dual spec patch users.

This is normal ? :)

2>Spell.cpp
2>..\\..\\src\\game\\Spell.cpp(4149) : warning C4806: '&' : unsafe operation: no value of type 'bool' promoted to type 'unsigned __int64' can equal the given constant

Have same error

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 173
  • Created
  • Last Reply

Top Posters In This Topic

@ up

+    //Check Caster for combat
+ if(m_caster->isInCombat() && IsNonCombatSpell(m_spellInfo) && !m_caster->isIgnoreUnitState(m_spellInfo) 
+ && !m_spellInfo->SpellFamilyFlags & SPELLFAMILYFLAG_ROGUE_STEALTH && m_spellInfo->SpellFamilyFlags & SPELLFAMILYFLAG_ROGUE_VANISH) // Vanish hack
+        return SPELL_FAILED_AFFECTING_COMBAT;

there is typo probably, you cannot use !m_spellInfo->SpellFamilyFlags & SPELLFAMILYFLAG_ROGUE_STEALTHas bool. Pobably you meant

&& !(m_spellInfo->SpellFamilyFlags & SPELLFAMILYFLAG_ROGUE_STEALTH) && (m_spellInfo->SpellFamilyFlags & SPELLFAMILYFLAG_ROGUE_VANISH)  )

as to patch V6a Fingers of Frost is not procing from spells that has chilled effect as a proc spell (fo example Ice Armor) on MaNGOS 9088. I know it is kind of offtopic because aura262 effect is working fine ;-)

Link to comment
Share on other sites

warrior still can use Charge in combat after talent reseting if Juggernaut was taken in previous talent build - it's a big exploit for dual spec patch users.

try adding

SendInitialPacketsAfterAddToMap();

in void Player::ActivateSpec(uint8 spec) function, here:

//if (plrTalent != m_talents[m_activeSpec]->end())
           //    plrTalent->second->state = PLAYERSPELL_REMOVED;
       }
   }

   SendInitialPacketsAfterAddToMap();

   // set glyphs
   for (uint8 slot = 0; slot < MAX_GLYPH_SLOT_INDEX; ++slot)
   {
       // remove secondary glyph
       if(uint32 oldglyph = m_Glyphs[m_activeSpec][slot])
       {
           if(GlyphPropertiesEntry const *old_gp = sGlyphPropertiesStore.LookupEntry(oldglyph))
           {

this worked for me.

Link to comment
Share on other sites

try adding

SendInitialPacketsAfterAddToMap();

in void Player::ActivateSpec(uint8 spec) function, here:

//if (plrTalent != m_talents[m_activeSpec]->end())
           //    plrTalent->second->state = PLAYERSPELL_REMOVED;
       }
   }

   SendInitialPacketsAfterAddToMap();

   // set glyphs
   for (uint8 slot = 0; slot < MAX_GLYPH_SLOT_INDEX; ++slot)
   {
       // remove secondary glyph
       if(uint32 oldglyph = m_Glyphs[m_activeSpec][slot])
       {
           if(GlyphPropertiesEntry const *old_gp = sGlyphPropertiesStore.LookupEntry(oldglyph))
           {

this worked for me.

Where you see this part of the code ?

Link to comment
Share on other sites

  • 2 weeks later...
Sorry I don't understand you, but the only problem with this patch is when you cast a spell, even if it's not a frost spell, like blink or fireblast it consumes one charge.

So it works but not properly.

tooltip of spell:

Gives your Chill effects a 15% chance to grant you the Fingers of Frost effect, which treats your next 2 spells cast as if the target were Frozen. Lasts 15 sec.

tooltip of buff:

Your next 2 spells treat the target as if it were Frozen.

Where you have, that charges must be consumed only by frost spells?

Charges has been consumed only by frost spells on patch 2.4.3, not on patch 3.3.0.

Link to comment
Share on other sites

those should be only offensive spells. I was speaking with frien from offi so final target != caster. It could be general rule for this spell but AoE are breaking it (target = caster but results are impacting SPELL_AOE_TARGETS) so some unifying spell flag has to be found or DropCharge() has to be moved somwhere closer to DoAllEffectsOnTarget()

Link to comment
Share on other sites

  • 1 month later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use