[DiscordArchive] so what ? remove override ?
[DiscordArchive] so what ? remove override ?
Archived author: Kitzunu • Posted: 2023-12-27T21:26:47.553000+00:00
Original source
Somewhere it is trying to trigger spell 0
Archived author: Rymercyble • Posted: 2023-12-27T21:42:20.068000+00:00
Original source
ye im just going to debug it
Archived author: Rymercyble • Posted: 2023-12-27T21:49:19.243000+00:00
Original source
its hot streak trying to trigger something but hot streak doesnt have that effect in dbc which would be fine but how am i supposed to know what its supposed to proc <:kek:1065379143887372398>
Archived author: Honey • Posted: 2023-12-27T21:54:59.136000+00:00
Original source
Just watch 15 year old videos on youtube in 320x200
Archived author: Rymercyble • Posted: 2023-12-27T21:56:35.261000+00:00
Original source
no but like seriously why is it even trying to proc something off of 44448 when it doesnt have such effect ?
Archived author: Rymercyble • Posted: 2023-12-27T21:58:19.726000+00:00
Original source
it has 2x spell aura dummy
Archived author: Bench • Posted: 2023-12-27T21:58:38.750000+00:00
Original source
Hey don't call people dummies that's rude
Archived author: Rymercyble • Posted: 2023-12-27T21:58:51.149000+00:00
Original source
Archived author: Rymercyble • Posted: 2023-12-27T22:00:09.990000+00:00
Original source
only reason i can think of is that core assumes that dummy aura was server side script and therefore except that there will be some action defined in its place
Archived author: Rymercyble • Posted: 2023-12-27T22:02:12.994000+00:00
Original source
```cpp
class spell_mage_hot_streak : public AuraScript
{
PrepareAuraScript(spell_mage_hot_streak);
bool Validate(SpellInfo const* /*spellInfo*/) override
{
return ValidateSpellInfo({ SPELL_MAGE_HOT_STREAK_PROC });
}
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo)
{
PreventDefaultAction();
AuraEffect* counter = GetEffect(EFFECT_1);
if (!counter)
return;
// Count spell criticals in a row in second aura
if (eventInfo.GetHitMask() & PROC_HIT_CRITICAL)
{
counter->SetAmount(counter->GetAmount() * 2);
if (counter->GetAmount() < 100) // not enough
return;
// roll chance
if (!roll_chance_i(aurEff->GetAmount()))
return;
Unit* caster = eventInfo.GetActor();
caster->CastSpell(caster, SPELL_MAGE_HOT_STREAK_PROC, aurEff);
}
// reset counter
counter->SetAmount(25);
}
void Register() override
{
OnEffectProc += AuraEffectProcFn(spell_mage_hot_streak::HandleProc, EFFECT_0, SPELL_AURA_DUMMY);
}
};
```
this is from TC its not exactly same spell but at least its clue