TrinityCore
TrinityCore copied to clipboard
Scripts/Spells: Implemented Priest talent Sanctuary
Issues addressed:
Sanctuary doesn't work. Smite should apply on target an aura that prevents x damage dealt by enemy.
Closes # (insert issue tracker number)
200d8ac9d7d0aa2ed34280004bc481cba179df6e
Tests performed:
tested ingame discipline talent build: BAQA0Hr2WRGgVq7/s2iQ2HhjlABopgg0SCiIlokkEJJBAAAAAAAAAAAItgkEkCRSiIQJEJRUIA
so just by applying the aura on target doesn't mean is gonna work right?
I mean the spell passes the info correctly to the aura, but the aura itself is SPELL_AURA_DUMMY, it won't do much on itself besides showing the correct numbers on the client.
Also, the spell that does the absorb is Mind Blast - 208771. Ignore the name, they didn't care about renaming it. You need an AuraScript for this to calculate its amount based on the actor's damage done.