Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] GetComboPoints() need to be used in SpellScript?

[DiscordArchive] GetComboPoints() need to be used in SpellScript?

[DiscordArchive] GetComboPoints() need to be used in SpellScript?

rektbyfaith
Administrator
0
07-17-2023, 12:28 PM
#1
Archived author: Fortescue • Posted: 2023-07-17T12:28:20.009000+00:00
Original source

GetComboPoints() need to be used in SpellScript?
rektbyfaith
07-17-2023, 12:28 PM #1

Archived author: Fortescue • Posted: 2023-07-17T12:28:20.009000+00:00
Original source

GetComboPoints() need to be used in SpellScript?

rektbyfaith
Administrator
0
07-17-2023, 12:28 PM
#2
Archived author: Tea • Posted: 2023-07-17T12:28:44.673000+00:00
Original source

in scripts it should never be used
rektbyfaith
07-17-2023, 12:28 PM #2

Archived author: Tea • Posted: 2023-07-17T12:28:44.673000+00:00
Original source

in scripts it should never be used

rektbyfaith
Administrator
0
07-17-2023, 12:30 PM
#3
Archived author: Tea • Posted: 2023-07-17T12:30:00.079000+00:00
Original source

instead you should get the number of combo points actually consumed by the spell (in a SpellScript) by calling `GetSpell()->GetPowerTypeCostAmount(POWER_COMBO_POINTS)`
rektbyfaith
07-17-2023, 12:30 PM #3

Archived author: Tea • Posted: 2023-07-17T12:30:00.079000+00:00
Original source

instead you should get the number of combo points actually consumed by the spell (in a SpellScript) by calling `GetSpell()->GetPowerTypeCostAmount(POWER_COMBO_POINTS)`

rektbyfaith
Administrator
0
07-17-2023, 12:30 PM
#4
Archived author: Tea • Posted: 2023-07-17T12:30:46.245000+00:00
Original source

that will get you the amount consumed by spell even after they are already removed from caster
rektbyfaith
07-17-2023, 12:30 PM #4

Archived author: Tea • Posted: 2023-07-17T12:30:46.245000+00:00
Original source

that will get you the amount consumed by spell even after they are already removed from caster

rektbyfaith
Administrator
0
07-17-2023, 12:59 PM
#5
Archived author: Fortescue • Posted: 2023-07-17T12:59:48.590000+00:00
Original source

<@200677690838220800> Did I understand correctly that scripts\Spells\spell_classname.cpp is the only place for implementing class specific skills/spells, percs, procs and auras?
rektbyfaith
07-17-2023, 12:59 PM #5

Archived author: Fortescue • Posted: 2023-07-17T12:59:48.590000+00:00
Original source

<@200677690838220800> Did I understand correctly that scripts\Spells\spell_classname.cpp is the only place for implementing class specific skills/spells, percs, procs and auras?

rektbyfaith
Administrator
0
07-17-2023, 01:34 PM
#6
Archived author: Tea • Posted: 2023-07-17T13:34:47.965000+00:00
Original source

for things that are not generic mechanics of a spell or aura, yes
rektbyfaith
07-17-2023, 01:34 PM #6

Archived author: Tea • Posted: 2023-07-17T13:34:47.965000+00:00
Original source

for things that are not generic mechanics of a spell or aura, yes

rektbyfaith
Administrator
0
07-17-2023, 01:35 PM
#7
Archived author: Fortescue • Posted: 2023-07-17T13:35:55.556000+00:00
Original source

<@200677690838220800> many thanks for tips
rektbyfaith
07-17-2023, 01:35 PM #7

Archived author: Fortescue • Posted: 2023-07-17T13:35:55.556000+00:00
Original source

<@200677690838220800> many thanks for tips

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