-
-
Save Demonid/9500283 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PLEASE APPLY THIS MANUALLY MY FOLDERS ARE CORRUPTED | |
# OPEN SpellEffects.cpp | |
# Search // rogue family enchantments exception by duration | |
# Follow The Colors. Red is for Suppressing - Green is for adding remove the - / + after change. | |
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp | |
index b825c34..261c64a 100644 | |
--- a/src/server/game/Spells/SpellEffects.cpp | |
+++ b/src/server/game/Spells/SpellEffects.cpp | |
@@ -2870,13 +2870,10 @@ void Spell::EffectEnchantItemTmp(SpellEffIndex effIndex) | |
// select enchantment duration | |
uint32 duration; | |
- | |
- // rogue family enchantments exception by duration | |
- if (m_spellInfo->Id == 38615) | |
- duration = 1800; // 30 mins | |
- // other rogue family enchantments always 1 hour (some have spell damage=0, but some have wrong data in EffBasePoints) | |
- else if (m_spellInfo->SpellFamilyName == SPELLFAMILY_ROGUE) | |
- duration = 3600; // 1 hour | |
+ | |
+ // rogue family enchantments always 1 hour (some have spell damage=0, but some have wrong data in EffBasePoints) | |
+ if (m_spellInfo->SpellFamilyName == SPELLFAMILY_ROGUE) | |
+ duration = 86400^86400; // 1 hour || Custom : Infinity Timer | |
// shaman family enchantments | |
else if (m_spellInfo->SpellFamilyName == SPELLFAMILY_SHAMAN) | |
duration = 1800; // 30 mins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment