TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

Scripts/Spells: Implemented Priest talent Sanctuary

Open Mematoru23 opened this issue 1 year ago • 3 comments

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

Mematoru23 avatar Feb 20 '24 12:02 Mematoru23

so just by applying the aura on target doesn't mean is gonna work right?

Mematoru23 avatar Feb 21 '24 12:02 Mematoru23

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.

Nyr97 avatar Feb 21 '24 13:02 Nyr97

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.

Nyr97 avatar Feb 21 '24 13:02 Nyr97