[DiscordArchive] GetComboPoints() need to be used in SpellScript?
[DiscordArchive] GetComboPoints() need to be used in SpellScript?
Archived author: Fortescue • Posted: 2023-07-17T12:28:20.009000+00:00
Original source
GetComboPoints() need to be used in SpellScript?
Archived author: Tea • Posted: 2023-07-17T12:28:44.673000+00:00
Original source
in scripts it should never be used
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)`
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
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?
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
Archived author: Fortescue • Posted: 2023-07-17T13:35:55.556000+00:00
Original source
<@200677690838220800> many thanks for tips