diff --git a/sql/updates/6903_world_spell_proc_event.sql b/sql/updates/6903_world_spell_proc_event.sql new file mode 100644 index 00000000000..d405bfbb2bf --- /dev/null +++ b/sql/updates/6903_world_spell_proc_event.sql @@ -0,0 +1 @@ +UPDATE spell_proc_event SET customChance = 100 WHERE entry = 33757; \ No newline at end of file diff --git a/sql/world.sql b/sql/world.sql index b8723f886e0..4ef214b1c06 100644 --- a/sql/world.sql +++ b/sql/world.sql @@ -6045,7 +6045,7 @@ INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFam ( 33719, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000800, 0, 0, 0), -- Perfect Spell Reflection ( 33736, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 3), -- Water Shield (Rank 8) ( 33746, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 10), -- Essence Infused Mushroom -( 33757, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 3), -- Windfury Weapon (Passive) (Rank 1) +( 33757, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 100, 3), -- Windfury Weapon (Passive) (Rank 1) ( 33759, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 10), -- Power Infused Mushroom ( 33881, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Natural Perfection (Rank 1) ( 33882, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Natural Perfection (Rank 2) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 1b0c532ed47..93694a21f2d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6705,8 +6705,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger return false; // Now compute real proc chance... - Aura* aur = GetAura(55445, 0); - uint32 chance = 20/* + (aur ? aur->GetAmount()->m_amount : 0)*/; + uint32 chance = 20; ((Player*)this)->ApplySpellMod(dummySpell->Id,SPELLMOD_CHANCE_OF_SUCCESS,chance); Item* addWeapon = ((Player*)this)->GetWeaponForAttack(attType == BASE_ATTACK ? OFF_ATTACK : BASE_ATTACK, true);