Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] how can I modify the spell damage for specific mobs only?

[DiscordArchive] how can I modify the spell damage for specific mobs only?

[DiscordArchive] how can I modify the spell damage for specific mobs only?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
06-05-2019, 12:18 PM
#1
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:18:02.435000+00:00
Original source

how can I modify the spell damage for specific mobs only?
rektbyfaith
06-05-2019, 12:18 PM #1

Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:18:02.435000+00:00
Original source

how can I modify the spell damage for specific mobs only?

rektbyfaith
Administrator
0
06-05-2019, 12:18 PM
#2
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:18:04.058000+00:00
Original source

rektbyfaith
06-05-2019, 12:18 PM #2

Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:18:04.058000+00:00
Original source

rektbyfaith
Administrator
0
06-05-2019, 12:18 PM
#3
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:18:38.969000+00:00
Original source

`DamageModifier` in creature_template doesn't do it
rektbyfaith
06-05-2019, 12:18 PM #3

Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:18:38.969000+00:00
Original source

`DamageModifier` in creature_template doesn't do it

rektbyfaith
Administrator
0
06-05-2019, 12:53 PM
#4
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:53:04.048000+00:00
Original source

I tried to do a damage modification, but it doesn't seem to work
No errors or crashes, it just doesn't work.
Any suggestions?
https://pastebin.com/ghQs1bj3
[Embed: [C++] UnitScript - Pastebin.com]
https://pastebin.com/ghQs1bj3
rektbyfaith
06-05-2019, 12:53 PM #4

Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:53:04.048000+00:00
Original source

I tried to do a damage modification, but it doesn't seem to work
No errors or crashes, it just doesn't work.
Any suggestions?
https://pastebin.com/ghQs1bj3
[Embed: [C++] UnitScript - Pastebin.com]
https://pastebin.com/ghQs1bj3

rektbyfaith
Administrator
0
06-05-2019, 12:53 PM
#5
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:53:59.837000+00:00
Original source

all values in config are = 100
rektbyfaith
06-05-2019, 12:53 PM #5

Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:53:59.837000+00:00
Original source

all values in config are = 100

rektbyfaith
Administrator
0
06-05-2019, 12:54 PM
#6
Archived author: Luka • Posted: 2019-06-05T12:54:37.682000+00:00
Original source

Debug your `uint32 Modifer_DealDamage(Unit* target, Unit* attacker, uint32 damage)` function
rektbyfaith
06-05-2019, 12:54 PM #6

Archived author: Luka • Posted: 2019-06-05T12:54:37.682000+00:00
Original source

Debug your `uint32 Modifer_DealDamage(Unit* target, Unit* attacker, uint32 damage)` function

rektbyfaith
Administrator
0
06-05-2019, 12:54 PM
#7
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:54:50.794000+00:00
Original source

I can't debug, I am a noob
rektbyfaith
06-05-2019, 12:54 PM #7

Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:54:50.794000+00:00
Original source

I can't debug, I am a noob

rektbyfaith
Administrator
0
06-05-2019, 12:57 PM
#8
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:57:43.640000+00:00
Original source

my main goal is to set a modifier to the spell damage
rektbyfaith
06-05-2019, 12:57 PM #8

Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:57:43.640000+00:00
Original source

my main goal is to set a modifier to the spell damage

rektbyfaith
Administrator
0
06-05-2019, 12:58 PM
#9
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:58:23.826000+00:00
Original source

but in order to do that, I have to learn how damage modifications work
I am trying to do it without editing the world.cpp itself (where the modifiers are located)
rektbyfaith
06-05-2019, 12:58 PM #9

Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:58:23.826000+00:00
Original source

but in order to do that, I have to learn how damage modifications work
I am trying to do it without editing the world.cpp itself (where the modifiers are located)

rektbyfaith
Administrator
0
06-05-2019, 12:59 PM
#10
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:59:40.804000+00:00
Original source

once I find out how to modify the damage of all mobs, I will create a sql table with mob entry and modifiers, in order to make it only for specific creatures
rektbyfaith
06-05-2019, 12:59 PM #10

Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:59:40.804000+00:00
Original source

once I find out how to modify the damage of all mobs, I will create a sql table with mob entry and modifiers, in order to make it only for specific creatures

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