Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What are you trying to do? Are you trying to make one spell affect another?

[DiscordArchive] What are you trying to do? Are you trying to make one spell affect another?

[DiscordArchive] What are you trying to do? Are you trying to make one spell affect another?

rektbyfaith
Administrator
0
04-24-2025, 02:04 PM
#1
Archived author: Mithria • Posted: 2025-04-24T14:04:58.073000+00:00
Original source

What are you trying to do? Are you trying to make one spell affect another?
rektbyfaith
04-24-2025, 02:04 PM #1

Archived author: Mithria • Posted: 2025-04-24T14:04:58.073000+00:00
Original source

What are you trying to do? Are you trying to make one spell affect another?

rektbyfaith
Administrator
0
04-24-2025, 02:11 PM
#2
Archived author: Mithria • Posted: 2025-04-24T14:11:17.616000+00:00
Original source

Spell X affects Spell Z
Spell X sets a bitmask value in EffectSpellClassMask (A 1-3, B 1-3, C 1-3 depending on which effect is being applied to spell Z)
Spell Z sets a bitmask value in SpellClassMask[1-3] corressponding with the column used in Spell X's EffectSpellClassMasks.

Both spells must have the same SpellClassSet or they will not interact.

This is a shit explanation, but I'm bad at explaining it unless I write a fucking whole essay on the topic lmfao
rektbyfaith
04-24-2025, 02:11 PM #2

Archived author: Mithria • Posted: 2025-04-24T14:11:17.616000+00:00
Original source

Spell X affects Spell Z
Spell X sets a bitmask value in EffectSpellClassMask (A 1-3, B 1-3, C 1-3 depending on which effect is being applied to spell Z)
Spell Z sets a bitmask value in SpellClassMask[1-3] corressponding with the column used in Spell X's EffectSpellClassMasks.

Both spells must have the same SpellClassSet or they will not interact.

This is a shit explanation, but I'm bad at explaining it unless I write a fucking whole essay on the topic lmfao

rektbyfaith
Administrator
0
04-24-2025, 02:28 PM
#3
Archived author: Mithria • Posted: 2025-04-24T14:28:59.141000+00:00
Original source

I'll do an example:

Glyph of Bestial Wrath : Reduces CD of Bestial Wrath by 20 sec.

This glyph applies the spell 56830. The Effect_1 for this spell is 6, or `APPLY_AURA`. The Aura it is applying is 107, or `SPELL_AURA_ADD_FLAT_MODIFIER` and a EffectMiscValue_1 of 11, or `SPELLMOD_COOLDOWN`.

So we have a spell, with 1 effect. It applies an aura to modify a cooldown. Now how does that get applied to Bestial Wrath?

Spell.dbc has 9 columns that can be used by the spell applying an effect. These are `EffectSpellClassMaskA[1-3]`, `EffectSpellClassMaskB[1-3]`, `EffectSpellClassMaskC[1-3]`.

It also has 3 columns that can be used by the spell receiving the effect. These are `SpellClassMask_1`, `SpellClassMask_2`, `SpellClassMask_3`

These two sets of columns have connections based on their numbers, meaning `EffectSpellClassMaskA_2` has a connection to `SpellClassMask_2`.

A power of 2 in `EffectSpellClassMaskA_2` for the spell being applied will serve as a link to the receiving spell so long as that receiving spell has the same power of 2 in its `SpellClassMask_2` column. (Technically these are bitmasks so you can use combinations of powers to have a spell affected by more than one spell, but lets keep this simple)

In the first 9 columns I mentioned (used in the spell being applied), the A, B, C refer to Effect_1, Effect_2, and Effect_3 respectively.

So looking at our glyph spell, it has `EffectSpellClassMaskA_2` set to 33,554,432. If we look at the spell it intends to affect (Bestial Wrath (19574)) we can see it has the column `SpellClassMask_2` set to 33,554,432! So this means the glyph spell, will apply its Effect_1 (since we are using an EffectSpellClassMask with A in it) to bestial wrath!

Keep in mind that both of these spells need `SpellClassSet` set to hunter (9), otherwise they will fail to connect with each other.
rektbyfaith
04-24-2025, 02:28 PM #3

Archived author: Mithria • Posted: 2025-04-24T14:28:59.141000+00:00
Original source

I'll do an example:

Glyph of Bestial Wrath : Reduces CD of Bestial Wrath by 20 sec.

This glyph applies the spell 56830. The Effect_1 for this spell is 6, or `APPLY_AURA`. The Aura it is applying is 107, or `SPELL_AURA_ADD_FLAT_MODIFIER` and a EffectMiscValue_1 of 11, or `SPELLMOD_COOLDOWN`.

So we have a spell, with 1 effect. It applies an aura to modify a cooldown. Now how does that get applied to Bestial Wrath?

Spell.dbc has 9 columns that can be used by the spell applying an effect. These are `EffectSpellClassMaskA[1-3]`, `EffectSpellClassMaskB[1-3]`, `EffectSpellClassMaskC[1-3]`.

It also has 3 columns that can be used by the spell receiving the effect. These are `SpellClassMask_1`, `SpellClassMask_2`, `SpellClassMask_3`

These two sets of columns have connections based on their numbers, meaning `EffectSpellClassMaskA_2` has a connection to `SpellClassMask_2`.

A power of 2 in `EffectSpellClassMaskA_2` for the spell being applied will serve as a link to the receiving spell so long as that receiving spell has the same power of 2 in its `SpellClassMask_2` column. (Technically these are bitmasks so you can use combinations of powers to have a spell affected by more than one spell, but lets keep this simple)

In the first 9 columns I mentioned (used in the spell being applied), the A, B, C refer to Effect_1, Effect_2, and Effect_3 respectively.

So looking at our glyph spell, it has `EffectSpellClassMaskA_2` set to 33,554,432. If we look at the spell it intends to affect (Bestial Wrath (19574)) we can see it has the column `SpellClassMask_2` set to 33,554,432! So this means the glyph spell, will apply its Effect_1 (since we are using an EffectSpellClassMask with A in it) to bestial wrath!

Keep in mind that both of these spells need `SpellClassSet` set to hunter (9), otherwise they will fail to connect with each other.

rektbyfaith
Administrator
0
04-24-2025, 03:44 PM
#4
Archived author: Barais • Posted: 2025-04-24T15:44:56.003000+00:00
Original source

You don’t copy the commands. It has its own conf file
rektbyfaith
04-24-2025, 03:44 PM #4

Archived author: Barais • Posted: 2025-04-24T15:44:56.003000+00:00
Original source

You don’t copy the commands. It has its own conf file

rektbyfaith
Administrator
0
04-24-2025, 03:48 PM
#5
Archived author: Plague • Posted: 2025-04-24T15:48:10.207000+00:00
Original source

Logging

Add these lines to your worldserver.conf file to enable logging for AutoBalance.
Be sure to add them after the `Logger.module=4,Console Server` line.

4 = Info (Default), 5 = Debug


Logger.module.AutoBalance=4,Console Server
Logger.module.AutoBalance_CombatLocking=4,Console Server
Logger.module.AutoBalance_DamageHealingCC=4,Console Server
Logger.module.AutoBalance_StatGeneration=4,Console Server


i meant this
rektbyfaith
04-24-2025, 03:48 PM #5

Archived author: Plague • Posted: 2025-04-24T15:48:10.207000+00:00
Original source

Logging

Add these lines to your worldserver.conf file to enable logging for AutoBalance.
Be sure to add them after the `Logger.module=4,Console Server` line.

4 = Info (Default), 5 = Debug


Logger.module.AutoBalance=4,Console Server
Logger.module.AutoBalance_CombatLocking=4,Console Server
Logger.module.AutoBalance_DamageHealingCC=4,Console Server
Logger.module.AutoBalance_StatGeneration=4,Console Server


i meant this

rektbyfaith
Administrator
0
04-24-2025, 05:17 PM
#6
Archived author: Oya • Posted: 2025-04-24T17:17:48.782000+00:00
Original source

Thank you sorry i had to go but you kinda answered my question and then some . Was trying to make a specific spell tick faster during a cooldown.
rektbyfaith
04-24-2025, 05:17 PM #6

Archived author: Oya • Posted: 2025-04-24T17:17:48.782000+00:00
Original source

Thank you sorry i had to go but you kinda answered my question and then some . Was trying to make a specific spell tick faster during a cooldown.

rektbyfaith
Administrator
0
04-24-2025, 05:18 PM
#7
Archived author: Oya • Posted: 2025-04-24T17:18:16.928000+00:00
Original source

sorry for late reply had to go out for a bit
rektbyfaith
04-24-2025, 05:18 PM #7

Archived author: Oya • Posted: 2025-04-24T17:18:16.928000+00:00
Original source

sorry for late reply had to go out for a bit

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)