[DiscordArchive] hey all, i'm struggling with a very simple thing: i want to change the cooldown of hearthstone from
[DiscordArchive] hey all, i'm struggling with a very simple thing: i want to change the cooldown of hearthstone from
Archived author: oxfordcomputers • Posted: 2023-05-29T16:37:33.118000+00:00
Original source
hey all, i'm struggling with a very simple thing: i want to change the cooldown of hearthstone from 30 minutes to 5 minutes. i adjusted `spellcooldown_1` from `-1` to `300000` in `item_template` db (entry 6948) but, even after a server restart, the hearthstone c/d is still 30 minutes. can someone tell me what i'm missing?
Archived author: Gultask • Posted: 2023-05-29T16:51:03.267000+00:00
Original source
restore the previous values, you need to change the cooldown of the spell itself afaik
Archived author: Gultask • Posted: 2023-05-29T16:51:16.753000+00:00
Original source
You can do it in SpellInfoCorrections.cpp
Archived author: oxfordcomputers • Posted: 2023-05-29T16:54:58.459000+00:00
Original source
so spell modifications need a core recompile?
Archived author: Gultask • Posted: 2023-05-29T16:55:19.785000+00:00
Original source
in this case in particular, yes
Archived author: Gultask • Posted: 2023-05-29T16:55:24.908000+00:00
Original source
other times no
Archived author: Gultask • Posted: 2023-05-29T16:55:26.759000+00:00
Original source
depends
Archived author: oxfordcomputers • Posted: 2023-05-29T16:56:02.752000+00:00
Original source
dang. but thanks for the help.
Archived author: oxfordcomputers • Posted: 2023-05-29T16:57:46.302000+00:00
Original source
this file, correct? `/src/server/game/Spells/SpellInfoCorrections.cpp`
Archived author: oxfordcomputers • Posted: 2023-05-29T17:00:55.496000+00:00
Original source
Perhaps I'm looking for the wrong thing? I don't see the spell id (8690) or references to hearthstone in that file