[DiscordArchive] Hello, I'm super new to this stuff, but I'm trying to apply changes to a spell, but I couldn't find
[DiscordArchive] Hello, I'm super new to this stuff, but I'm trying to apply changes to a spell, but I couldn't find
![[Image: image.png?ex=690c7734&is=690b25b4&hm=8d9...7a14b5d87&]](https://cdn.discordapp.com/attachments/284406375495368704/1181903814790488184/image.png?ex=690c7734&is=690b25b4&hm=8d987a7aa4ebe6e23b0176d791cb1230b8e32a6a3873bfaa52022567a14b5d87&)
![[Image: image.png?ex=690c7734&is=690b25b4&hm=1f5...5c66bb46f&]](https://cdn.discordapp.com/attachments/284406375495368704/1181903815163772939/image.png?ex=690c7734&is=690b25b4&hm=1f59152ac7c0d273030b90a1141efb0e32f330958c1d397dfb4508b5c66bb46f&)
Archived author: Mathias • Posted: 2023-12-06T10:23:48.293000+00:00
Original source
Hello, I'm super new to this stuff, but I'm trying to apply changes to a spell, but I couldn't find any docs on how it works, so hoping someone here can correct me if I'm wrong.
I want to increase damage of this specific spell from the ICC Gunship Guns. Would this work?
![[Image: image.png?ex=690c7734&is=690b25b4&hm=8d9...7a14b5d87&]](https://cdn.discordapp.com/attachments/284406375495368704/1181903814790488184/image.png?ex=690c7734&is=690b25b4&hm=8d987a7aa4ebe6e23b0176d791cb1230b8e32a6a3873bfaa52022567a14b5d87&)
![[Image: image.png?ex=690c7734&is=690b25b4&hm=1f5...5c66bb46f&]](https://cdn.discordapp.com/attachments/284406375495368704/1181903815163772939/image.png?ex=690c7734&is=690b25b4&hm=1f59152ac7c0d273030b90a1141efb0e32f330958c1d397dfb4508b5c66bb46f&)
Archived author: ElDiablo • Posted: 2023-12-06T10:25:13.807000+00:00
Original source
Here you are triggering a specific new spell as a spell effect. You need to modify the damage variable in the original spellscript
Archived author: ElDiablo • Posted: 2023-12-06T10:25:20.053000+00:00
Original source
So the last image you sent
Archived author: ElDiablo • Posted: 2023-12-06T10:25:47.509000+00:00
Original source
Si is a struct pointer to the spell that comes out of that triggerspell
Archived author: ElDiablo • Posted: 2023-12-06T10:25:54.254000+00:00
Original source
And that damage is modified below
Archived author: ElDiablo • Posted: 2023-12-06T10:26:27.228000+00:00
Original source
So you can modify that int32 variable damage according to what you want
Archived author: Mathias • Posted: 2023-12-06T10:27:55.204000+00:00
Original source
Hmm, but I'm having issues compiling if I change values there, because it wants me to commit all changes before letting me run it, is there a workaround without forking the repo?