[DiscordArchive] hello everyone, why are having this spam?
[DiscordArchive] hello everyone, why are having this spam?
![[Image: 17890.jpg?ex=690c3cbb&is=690aeb3b&hm=612...f84a7e3bd&]](https://cdn.discordapp.com/attachments/284406375495368704/960965625654673428/17890.jpg?ex=690c3cbb&is=690aeb3b&hm=612be3aadd343020b489c2cac5e7207b582831d3c8edc7e7be5b136f84a7e3bd&)
Archived author: Prouttz • Posted: 2022-04-05T18:14:19.266000+00:00
Original source
hello everyone, why are having this spam?
![[Image: 17890.jpg?ex=690c3cbb&is=690aeb3b&hm=612...f84a7e3bd&]](https://cdn.discordapp.com/attachments/284406375495368704/960965625654673428/17890.jpg?ex=690c3cbb&is=690aeb3b&hm=612be3aadd343020b489c2cac5e7207b582831d3c8edc7e7be5b136f84a7e3bd&)
Archived author: Bogir • Posted: 2022-04-05T18:21:58.640000+00:00
Original source
If I understand correctly, the script can be corrected like this:
```cpp
SPELL_BEAST_MARK_NORMAL = 48876,
SPELL_BEAST_MARK_HEROIC = 59237, // added
SPELL_BEAST_MARK_DAMAGE_N = 48877,
SPELL_BEAST_MARK_DAMAGE_H = 59233
...
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& /*eventInfo*/)
{
PreventDefaultAction();
Unit* target = GetTarget();
//uint32 spellId = (m_scriptSpellId == SPELL_BEAST_MARK_NORMAL) ? SPELL_BEAST_MARK_DAMAGE_N : SPELL_BEAST_MARK_DAMAGE_H;
uint32 spellId = SPELL_BEAST_MARK_DAMAGE_N; //normal by default
switch (m_scriptSpellId)
{
case SPELL_BEAST_MARK_NORMAL:
spellId = SPELL_BEAST_MARK_DAMAGE_N;
break;
case SPELL_BEAST_MARK_HEROIC:
spellId = SPELL_BEAST_MARK_DAMAGE_H;
break;
default:
break;
}
target->CastSpell(target, spellId, aurEff);
}
```
Archived author: Foe • Posted: 2022-04-05T18:36:40.027000+00:00
Original source
That would work, yes
![[Image: unknown.png?ex=690c4b1e&is=690af99e&hm=7...fac2b00e1&]](https://cdn.discordapp.com/attachments/284406375495368704/960981073750278144/unknown.png?ex=690c4b1e&is=690af99e&hm=7b09aa5ccd0e2038ca93666668d6bb151b932b00a2690c7812f8fc9fac2b00e1&)
Archived author: Bogir • Posted: 2022-04-05T19:15:42.317000+00:00
Original source
me too
![[Image: unknown.png?ex=690c4b1e&is=690af99e&hm=7...fac2b00e1&]](https://cdn.discordapp.com/attachments/284406375495368704/960981073750278144/unknown.png?ex=690c4b1e&is=690af99e&hm=7b09aa5ccd0e2038ca93666668d6bb151b932b00a2690c7812f8fc9fac2b00e1&)