Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] how can i get the damage of a spell in a spellscript?

[DiscordArchive] how can i get the damage of a spell in a spellscript?

[DiscordArchive] how can i get the damage of a spell in a spellscript?

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
02-20-2024, 10:17 PM
#1
Archived author: Mematoru • Posted: 2024-02-20T22:17:01.996000+00:00
Original source

how can i get the damage of a spell in a spellscript?
rektbyfaith
02-20-2024, 10:17 PM #1

Archived author: Mematoru • Posted: 2024-02-20T22:17:01.996000+00:00
Original source

how can i get the damage of a spell in a spellscript?

rektbyfaith
Administrator
0
02-20-2024, 10:21 PM
#2
Archived author: Northstrider • Posted: 2024-02-20T22:21:37.829000+00:00
Original source

GetHitDamage() in OnSpellHit hooks
rektbyfaith
02-20-2024, 10:21 PM #2

Archived author: Northstrider • Posted: 2024-02-20T22:21:37.829000+00:00
Original source

GetHitDamage() in OnSpellHit hooks

rektbyfaith
Administrator
0
02-20-2024, 10:22 PM
#3
Archived author: Mematoru • Posted: 2024-02-20T22:22:37.293000+00:00
Original source

yeah, ok
rektbyfaith
02-20-2024, 10:22 PM #3

Archived author: Mematoru • Posted: 2024-02-20T22:22:37.293000+00:00
Original source

yeah, ok

rektbyfaith
Administrator
0
02-20-2024, 10:22 PM
#4
Archived author: Mematoru • Posted: 2024-02-20T22:22:59.076000+00:00
Original source

how about the dmg of an outside spell?
rektbyfaith
02-20-2024, 10:22 PM #4

Archived author: Mematoru • Posted: 2024-02-20T22:22:59.076000+00:00
Original source

how about the dmg of an outside spell?

rektbyfaith
Administrator
0
02-20-2024, 10:26 PM
#5
Archived author: Northstrider • Posted: 2024-02-20T22:26:46.866000+00:00
Original source

You can't access the damage of another spell. If you try to write a proc that is based on another spell's damage, you need an aurascript and have to use the OnEffectProc hook
rektbyfaith
02-20-2024, 10:26 PM #5

Archived author: Northstrider • Posted: 2024-02-20T22:26:46.866000+00:00
Original source

You can't access the damage of another spell. If you try to write a proc that is based on another spell's damage, you need an aurascript and have to use the OnEffectProc hook

rektbyfaith
Administrator
0
02-20-2024, 10:28 PM
#6
Archived author: Northstrider • Posted: 2024-02-20T22:28:09.644000+00:00
Original source

that hook has an EventInfo value that allows you to access the DamageInfo of the spell which contains the damage
rektbyfaith
02-20-2024, 10:28 PM #6

Archived author: Northstrider • Posted: 2024-02-20T22:28:09.644000+00:00
Original source

that hook has an EventInfo value that allows you to access the DamageInfo of the spell which contains the damage

rektbyfaith
Administrator
0
02-20-2024, 10:28 PM
#7
Archived author: Mematoru • Posted: 2024-02-20T22:28:52.429000+00:00
Original source

ok i know that
rektbyfaith
02-20-2024, 10:28 PM #7

Archived author: Mematoru • Posted: 2024-02-20T22:28:52.429000+00:00
Original source

ok i know that

rektbyfaith
Administrator
0
02-20-2024, 10:29 PM
#8
Archived author: Mematoru • Posted: 2024-02-20T22:29:17.735000+00:00
Original source

but wat i got i believe is/is a bit diff
rektbyfaith
02-20-2024, 10:29 PM #8

Archived author: Mematoru • Posted: 2024-02-20T22:29:17.735000+00:00
Original source

but wat i got i believe is/is a bit diff

rektbyfaith
Administrator
0
02-20-2024, 10:29 PM
#9
Archived author: Mematoru • Posted: 2024-02-20T22:29:52.254000+00:00
Original source


[Image: Screenshot_184.png?ex=690c78a0&is=690b27...3a0747abd&]
rektbyfaith
02-20-2024, 10:29 PM #9

Archived author: Mematoru • Posted: 2024-02-20T22:29:52.254000+00:00
Original source


[Image: Screenshot_184.png?ex=690c78a0&is=690b27...3a0747abd&]

rektbyfaith
Administrator
0
02-20-2024, 10:30 PM
#10
Archived author: Mematoru • Posted: 2024-02-20T22:30:18.488000+00:00
Original source

tryin to do the dmg part
rektbyfaith
02-20-2024, 10:30 PM #10

Archived author: Mematoru • Posted: 2024-02-20T22:30:18.488000+00:00
Original source

tryin to do the dmg part

Pages (4): 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)