Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Is there a tool to alter spells? What is the best approach to tinker an existing spell?

[DiscordArchive] Is there a tool to alter spells? What is the best approach to tinker an existing spell?

[DiscordArchive] Is there a tool to alter spells? What is the best approach to tinker an existing spell?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
11-30-2023, 10:54 PM
#11
Archived author: • Posted: 2023-11-30T22:54:05.082000+00:00
Original source

Ah, found it, nvm
rektbyfaith
11-30-2023, 10:54 PM #11

Archived author: • Posted: 2023-11-30T22:54:05.082000+00:00
Original source

Ah, found it, nvm

rektbyfaith
Administrator
0
11-30-2023, 11:15 PM
#12
Archived author: Kitzunu • Posted: 2023-11-30T23:15:29.256000+00:00
Original source

cast time uses already set values from SpellCastTIme.dbc iirc. You could probably change it with something like
```cpp
// Spell
ApplySpellFix({ spellId }, [](SpellInfo* spellInfo)
{
spellInfo->CastTimeEntry = sSpellCastTimesStore.LookupEntry(value from dbc here);
});
```
rektbyfaith
11-30-2023, 11:15 PM #12

Archived author: Kitzunu • Posted: 2023-11-30T23:15:29.256000+00:00
Original source

cast time uses already set values from SpellCastTIme.dbc iirc. You could probably change it with something like
```cpp
// Spell
ApplySpellFix({ spellId }, [](SpellInfo* spellInfo)
{
spellInfo->CastTimeEntry = sSpellCastTimesStore.LookupEntry(value from dbc here);
});
```

rektbyfaith
Administrator
0
11-30-2023, 11:16 PM
#13
Archived author: Kitzunu • Posted: 2023-11-30T23:16:46.237000+00:00
Original source

this is in SpellInfoCorrections.cpp btw
rektbyfaith
11-30-2023, 11:16 PM #13

Archived author: Kitzunu • Posted: 2023-11-30T23:16:46.237000+00:00
Original source

this is in SpellInfoCorrections.cpp btw

rektbyfaith
Administrator
0
11-30-2023, 11:17 PM
#14
Archived author: Kitzunu • Posted: 2023-11-30T23:17:21.162000+00:00
Original source

f.ex
```cpp
spellInfo->CastTimeEntry = sSpellCastTimesStore.LookupEntry(1);
```
rektbyfaith
11-30-2023, 11:17 PM #14

Archived author: Kitzunu • Posted: 2023-11-30T23:17:21.162000+00:00
Original source

f.ex
```cpp
spellInfo->CastTimeEntry = sSpellCastTimesStore.LookupEntry(1);
```

rektbyfaith
Administrator
0
11-30-2023, 11:17 PM
#15
Archived author: Kitzunu • Posted: 2023-11-30T23:17:23.401000+00:00
Original source

would be 0s
rektbyfaith
11-30-2023, 11:17 PM #15

Archived author: Kitzunu • Posted: 2023-11-30T23:17:23.401000+00:00
Original source

would be 0s

rektbyfaith
Administrator
0
11-30-2023, 11:17 PM
#16
Archived author: Kitzunu • Posted: 2023-11-30T23:17:42.827000+00:00
Original source

15 = 4s
rektbyfaith
11-30-2023, 11:17 PM #16

Archived author: Kitzunu • Posted: 2023-11-30T23:17:42.827000+00:00
Original source

15 = 4s

rektbyfaith
Administrator
0
11-30-2023, 11:19 PM
#17
Archived author: Kitzunu • Posted: 2023-11-30T23:19:07.920000+00:00
Original source

but all of those can be found in SpellCastTimes.dbc
[Image: image.png?ex=690bdb6b&is=690a89eb&hm=b73...a20764ec7&]
rektbyfaith
11-30-2023, 11:19 PM #17

Archived author: Kitzunu • Posted: 2023-11-30T23:19:07.920000+00:00
Original source

but all of those can be found in SpellCastTimes.dbc
[Image: image.png?ex=690bdb6b&is=690a89eb&hm=b73...a20764ec7&]

rektbyfaith
Administrator
0
11-30-2023, 11:21 PM
#18
Archived author: Kitzunu • Posted: 2023-11-30T23:21:14.278000+00:00
Original source

there are no spell id's in here
rektbyfaith
11-30-2023, 11:21 PM #18

Archived author: Kitzunu • Posted: 2023-11-30T23:21:14.278000+00:00
Original source

there are no spell id's in here

rektbyfaith
Administrator
0
11-30-2023, 11:21 PM
#19
Archived author: Kitzunu • Posted: 2023-11-30T23:21:57.763000+00:00
Original source

f.ex ID 15 here is the define for 4s
```cpp
spellInfo->CastTimeEntry = sSpellCastTimesStore.LookupEntry(15);
```
rektbyfaith
11-30-2023, 11:21 PM #19

Archived author: Kitzunu • Posted: 2023-11-30T23:21:57.763000+00:00
Original source

f.ex ID 15 here is the define for 4s
```cpp
spellInfo->CastTimeEntry = sSpellCastTimesStore.LookupEntry(15);
```

rektbyfaith
Administrator
0
11-30-2023, 11:22 PM
#20
Archived author: Kitzunu • Posted: 2023-11-30T23:22:51.783000+00:00
Original source

4000 = 4s
[Image: image.png?ex=690bdc4b&is=690a8acb&hm=af0...db7417eea&]
rektbyfaith
11-30-2023, 11:22 PM #20

Archived author: Kitzunu • Posted: 2023-11-30T23:22:51.783000+00:00
Original source

4000 = 4s
[Image: image.png?ex=690bdc4b&is=690a8acb&hm=af0...db7417eea&]

Pages (2): Previous 1 2
Recently Browsing
 
Recently Browsing