[DiscordArchive] how can I modify the spell damage for specific mobs only?
[DiscordArchive] how can I modify the spell damage for specific mobs only?
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?
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:18:04.058000+00:00
Original source
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:18:38.969000+00:00
Original source
`DamageModifier` in creature_template doesn't do it
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
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:53:59.837000+00:00
Original source
all values in config are = 100
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
Archived author: MR.MUSTACHE • Posted: 2019-06-05T12:54:50.794000+00:00
Original source
I can't debug, I am a noob
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
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)
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