PDA

View Full Version : [TrinityCore] Cast Glyphs Instantly for WoW Servers



Wise
23-11-20, 01:04 AM
Open src/server/game/Entities/Unit/Unit.cpp

Find


else if (spellProto->SpellVisual[0] == 3881 && HasAura(67556)) // cooking with Chef Hat.
castTime = 500;

After it add


if(spellProto->Effects[0].Effect == SPELL_EFFECT_ENCHANT_ITEM || spellProto->Effects[0].Effect == SPELL_EFFECT_APPLY_GLYPH || spellProto->Effects[0].Effect == SPELL_EFFECT_ENCHANT_ITEM_PRISMATIC)
castTime = 1;

Example:
https://i.imgur.com/qiKe1iN.png


Special Thanks for it to JunkyBulgaria


Detailed Glyph Patch (link below) which will work 100% for major glyphs as-well

https://pastebin.com/uMD1E1kb