Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Do you know if there is a way to check if a cooldown is ready?

[DiscordArchive] Do you know if there is a way to check if a cooldown is ready?

[DiscordArchive] Do you know if there is a way to check if a cooldown is ready?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
02-12-2023, 01:59 AM
#11
Archived author: Deleted User • Posted: 2023-02-12T01:59:31.069000+00:00
Original source

<@456226577798135808> Starting up anti-freeze thread (60 seconds max stuck time)...
TrinityCore rev. eb55c8680342+ 2022-08-05 01:48:46 +0000 (master branch) (Win64, Release, Static) (worldserver-daemon) ready...
World Thread hangs, kicking out server!
rektbyfaith
02-12-2023, 01:59 AM #11

Archived author: Deleted User • Posted: 2023-02-12T01:59:31.069000+00:00
Original source

<@456226577798135808> Starting up anti-freeze thread (60 seconds max stuck time)...
TrinityCore rev. eb55c8680342+ 2022-08-05 01:48:46 +0000 (master branch) (Win64, Release, Static) (worldserver-daemon) ready...
World Thread hangs, kicking out server!

rektbyfaith
Administrator
0
02-12-2023, 02:01 AM
#12
Archived author: Deleted User • Posted: 2023-02-12T02:01:24.561000+00:00
Original source

You must use SpellMgr
rektbyfaith
02-12-2023, 02:01 AM #12

Archived author: Deleted User • Posted: 2023-02-12T02:01:24.561000+00:00
Original source

You must use SpellMgr

rektbyfaith
Administrator
0
02-12-2023, 02:01 AM
#13
Archived author: Deleted User • Posted: 2023-02-12T02:01:45.549000+00:00
Original source

Again, no idea. You can try debug
rektbyfaith
02-12-2023, 02:01 AM #13

Archived author: Deleted User • Posted: 2023-02-12T02:01:45.549000+00:00
Original source

Again, no idea. You can try debug

rektbyfaith
Administrator
0
02-12-2023, 02:02 AM
#14
Archived author: Deleted User • Posted: 2023-02-12T02:02:05.986000+00:00
Original source

can you point me to a tutorial ? im novice in this things
rektbyfaith
02-12-2023, 02:02 AM #14

Archived author: Deleted User • Posted: 2023-02-12T02:02:05.986000+00:00
Original source

can you point me to a tutorial ? im novice in this things

rektbyfaith
Administrator
0
02-12-2023, 02:06 AM
#15
Archived author: Drikish • Posted: 2023-02-12T02:06:35.323000+00:00
Original source

Can i ask one more question, all the scripts i've seen so far in the core use scheduling of events which are fixed time intervals. As such they ignore GCD requirements of spells, this is notable if you have lots of things happening and times overlap.
One could write it so that things dont overlap with repeats at times that don't overlap but...
I noticed in PlayerAI that there was a function where you could PUSH a spell to be used and it would just be used at the next oppertunity following GCD rules etc.
So within CreatureAI what's the best way to achieve this and is it even possible?
rektbyfaith
02-12-2023, 02:06 AM #15

Archived author: Drikish • Posted: 2023-02-12T02:06:35.323000+00:00
Original source

Can i ask one more question, all the scripts i've seen so far in the core use scheduling of events which are fixed time intervals. As such they ignore GCD requirements of spells, this is notable if you have lots of things happening and times overlap.
One could write it so that things dont overlap with repeats at times that don't overlap but...
I noticed in PlayerAI that there was a function where you could PUSH a spell to be used and it would just be used at the next oppertunity following GCD rules etc.
So within CreatureAI what's the best way to achieve this and is it even possible?

rektbyfaith
Administrator
0
02-12-2023, 02:07 AM
#16
Archived author: Drikish • Posted: 2023-02-12T02:07:57.109000+00:00
Original source

From PlayerAI:
```c++
VerifyAndPushSpellCast(spells, SPELL_CHARGE, TARGET_VICTIM, 15);
```
rektbyfaith
02-12-2023, 02:07 AM #16

Archived author: Drikish • Posted: 2023-02-12T02:07:57.109000+00:00
Original source

From PlayerAI:
```c++
VerifyAndPushSpellCast(spells, SPELL_CHARGE, TARGET_VICTIM, 15);
```

rektbyfaith
Administrator
0
02-12-2023, 02:08 AM
#17
Archived author: Drikish • Posted: 2023-02-12T02:08:18.554000+00:00
Original source

Linking back to a vector holding 'possibleSpells'
rektbyfaith
02-12-2023, 02:08 AM #17

Archived author: Drikish • Posted: 2023-02-12T02:08:18.554000+00:00
Original source

Linking back to a vector holding 'possibleSpells'

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