Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] so what ? remove override ?

[DiscordArchive] so what ? remove override ?

[DiscordArchive] so what ? remove override ?

Pages (16): Previous 1 12 13 14 15 16 Next  
rektbyfaith
Administrator
0
12-27-2023, 09:26 PM
Archived author: Kitzunu • Posted: 2023-12-27T21:26:47.553000+00:00
Original source

Somewhere it is trying to trigger spell 0
rektbyfaith
12-27-2023, 09:26 PM #141

Archived author: Kitzunu • Posted: 2023-12-27T21:26:47.553000+00:00
Original source

Somewhere it is trying to trigger spell 0

rektbyfaith
Administrator
0
12-27-2023, 09:42 PM
Archived author: Rymercyble • Posted: 2023-12-27T21:42:20.068000+00:00
Original source

ye im just going to debug it
rektbyfaith
12-27-2023, 09:42 PM #142

Archived author: Rymercyble • Posted: 2023-12-27T21:42:20.068000+00:00
Original source

ye im just going to debug it

rektbyfaith
Administrator
0
12-27-2023, 09:49 PM
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>
rektbyfaith
12-27-2023, 09:49 PM #143

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>

rektbyfaith
Administrator
0
12-27-2023, 09:54 PM
Archived author: Honey • Posted: 2023-12-27T21:54:59.136000+00:00
Original source

Just watch 15 year old videos on youtube in 320x200
rektbyfaith
12-27-2023, 09:54 PM #144

Archived author: Honey • Posted: 2023-12-27T21:54:59.136000+00:00
Original source

Just watch 15 year old videos on youtube in 320x200

rektbyfaith
Administrator
0
12-27-2023, 09:56 PM
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 ?
rektbyfaith
12-27-2023, 09:56 PM #145

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 ?

rektbyfaith
Administrator
0
12-27-2023, 09:58 PM
Archived author: Rymercyble • Posted: 2023-12-27T21:58:19.726000+00:00
Original source

it has 2x spell aura dummy
rektbyfaith
12-27-2023, 09:58 PM #146

Archived author: Rymercyble • Posted: 2023-12-27T21:58:19.726000+00:00
Original source

it has 2x spell aura dummy

rektbyfaith
Administrator
0
12-27-2023, 09:58 PM
Archived author: Bench • Posted: 2023-12-27T21:58:38.750000+00:00
Original source

Hey don't call people dummies that's rude
rektbyfaith
12-27-2023, 09:58 PM #147

Archived author: Bench • Posted: 2023-12-27T21:58:38.750000+00:00
Original source

Hey don't call people dummies that's rude

rektbyfaith
Administrator
0
12-27-2023, 09:58 PM
Archived author: Rymercyble • Posted: 2023-12-27T21:58:51.149000+00:00
Original source

rektbyfaith
12-27-2023, 09:58 PM #148

Archived author: Rymercyble • Posted: 2023-12-27T21:58:51.149000+00:00
Original source

rektbyfaith
Administrator
0
12-27-2023, 10:00 PM
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
rektbyfaith
12-27-2023, 10:00 PM #149

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

rektbyfaith
Administrator
0
12-27-2023, 10:02 PM
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
rektbyfaith
12-27-2023, 10:02 PM #150

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

Pages (16): Previous 1 12 13 14 15 16 Next  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)