[DiscordArchive] Something is up with spell 48876. I guess its trying to trigger spell 0?
[DiscordArchive] Something is up with spell 48876. I guess its trying to trigger spell 0?
Archived author: Kitzunu • Posted: 2022-04-05T17:46:56.036000+00:00
Original source
```
ID - 48876 Beast's Mark
=================================================
Description: Places the Beast's Mark on the target, causing the target to take $48877s1 damage whenever they are damaged by a Beast.
ToolTip: Deals $48877s1 damage when damaged by Beasts.
Category = 0, SpellIconID = 538, activeIconID = 0, SpellVisual = (3239,0), SpellPriority = 0
Family SPELLFAMILY_GENERIC, flag [0] 0x00000000 [1] 0x00000000 [2] 0x00000000
SpellSchoolMask = 1 (SPELL_SCHOOL_MASK_NORMAL)
DamageClass = 1 (SPELL_DAMAGE_CLASS_MAGIC)
PreventionType = 1 (SPELL_PREVENTION_TYPE_SILENCE)
=================================================
Spell Level = 0, base 0, max 0, maxTarget 0
Category = 0
DispelType = 1 (DISPEL_MAGIC)
Mechanic = 0 (MECHANIC_NONE)
SpellRange: (Id 2) "Combat Range":
MinRange = 0, MinRangeFriendly = 0
MaxRange = 5, MaxRangeFriendly = 5
CastingTime (Id 1) = 0,00
Duration: ID (1) 10000, 0, 10000
Interrupt Flags: 0x00000000, AuraIF 0x00000000, ChannelIF 0x00000000
Proc flag 0x00100000, chance = 100, charges - 0
=================================================
1048576 (0x100000) - Taken any damage
=================================================
Effect 0: Id 6 (SPELL_EFFECT_APPLY_AURA)
BasePoints = 0
Targets (6, 0) (TARGET_UNIT_TARGET_ENEMY, NO_TARGET)
Aura Id 42 (SPELL_AURA_PROC_TRIGGER_SPELL), value = 0, misc = 0 (0), miscB = 0, periodic = 0
Effect 1: NO EFFECT
Effect 2: NO EFFECT
```
Archived author: Kitzunu • Posted: 2022-04-05T17:47:01.820000+00:00
Original source
> Aura Id 42 (SPELL_AURA_PROC_TRIGGER_SPELL), value = 0, misc = 0 (0), miscB = 0, periodic = 0
Archived author: Kitzunu • Posted: 2022-04-05T17:49:08.039000+00:00
Original source
Spell needs to be scripted
Archived author: Kitzunu • Posted: 2022-04-05T17:49:30.090000+00:00
Original source
https://github.com/TrinityCore/TrinityCo...le.cpp#L33
Archived author: Foe • Posted: 2022-04-05T17:51:41.699000+00:00
Original source
That script doesn't work like it should either
Archived author: Kitzunu • Posted: 2022-04-05T17:52:05.103000+00:00
Original source
Please elaborate
Archived author: Foe • Posted: 2022-04-05T17:53:31.288000+00:00
Original source
There are two spells that need to be scripted, 48876 is the normal mode aura, 48877 is the normal mode damage from the proc. The script references 59237 as the normal mode aura, with 48877 being the normal mode damage, and 48876 being the heroic mode damage.
Archived author: Foe • Posted: 2022-04-05T17:53:51.197000+00:00
Original source
59233 is the correct heroic mode damage, which isn't even referenced or used in that script.
Archived author: Foe • Posted: 2022-04-05T17:55:44.401000+00:00
Original source
Unless they just register the same script to both trigger spells, which is a bit jank and isn't very humanly readable unless you have the SQL data at hand as well ♂️
Archived author: Kitzunu • Posted: 2022-04-05T17:55:58.229000+00:00
Original source
(48876,'spell_utgarde_pinnacle_beast_mark'),
(59237,'spell_utgarde_pinnacle_beast_mark');