Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Any reason why you don't just have a timed event tied to the creatures on spawn that checks for thei

[DiscordArchive] Any reason why you don't just have a timed event tied to the creatures on spawn that checks for thei

[DiscordArchive] Any reason why you don't just have a timed event tied to the creatures on spawn that checks for thei

Pages (6): Previous 1 2 3 4 5 6 Next
rektbyfaith
Administrator
0
04-24-2022, 03:42 PM
#31
Archived author: Honey • Posted: 2022-04-24T15:42:17.021000+00:00
Original source

BUT i need to lower the creature event's frequency. If i leave it at 1000ms, the creature might get healed to full with a hot and receive damage afterwords before the check happens.
rektbyfaith
04-24-2022, 03:42 PM #31

Archived author: Honey • Posted: 2022-04-24T15:42:17.021000+00:00
Original source

BUT i need to lower the creature event's frequency. If i leave it at 1000ms, the creature might get healed to full with a hot and receive damage afterwords before the check happens.

rektbyfaith
Administrator
0
04-24-2022, 03:42 PM
#32
Archived author: Honey • Posted: 2022-04-24T15:42:58.446000+00:00
Original source

CREATURE_EVENT_ON_HIT_BY_SPELL doesn't fire when a hot ticks
rektbyfaith
04-24-2022, 03:42 PM #32

Archived author: Honey • Posted: 2022-04-24T15:42:58.446000+00:00
Original source

CREATURE_EVENT_ON_HIT_BY_SPELL doesn't fire when a hot ticks

rektbyfaith
Administrator
0
04-24-2022, 03:43 PM
#33
Archived author: Foe • Posted: 2022-04-24T15:43:21.085000+00:00
Original source

CREATURE_EVENT_ON_DAMAGE_TAKEN this event happens pre damage being applied
rektbyfaith
04-24-2022, 03:43 PM #33

Archived author: Foe • Posted: 2022-04-24T15:43:21.085000+00:00
Original source

CREATURE_EVENT_ON_DAMAGE_TAKEN this event happens pre damage being applied

rektbyfaith
Administrator
0
04-24-2022, 03:43 PM
#34
Archived author: Foe • Posted: 2022-04-24T15:43:31.762000+00:00
Original source

just check there whether the creature is max health or not
rektbyfaith
04-24-2022, 03:43 PM #34

Archived author: Foe • Posted: 2022-04-24T15:43:31.762000+00:00
Original source

just check there whether the creature is max health or not

rektbyfaith
Administrator
0
04-24-2022, 03:43 PM
#35
Archived author: Foe • Posted: 2022-04-24T15:43:39.580000+00:00
Original source

if it is, set statusStore[phaseId][creature:GetGUIDLow()] = 1
rektbyfaith
04-24-2022, 03:43 PM #35

Archived author: Foe • Posted: 2022-04-24T15:43:39.580000+00:00
Original source

if it is, set statusStore[phaseId][creature:GetGUIDLow()] = 1

rektbyfaith
Administrator
0
04-24-2022, 03:44 PM
#36
Archived author: Honey • Posted: 2022-04-24T15:44:00.177000+00:00
Original source

too easy, i can't imagine that ‍♀️
rektbyfaith
04-24-2022, 03:44 PM #36

Archived author: Honey • Posted: 2022-04-24T15:44:00.177000+00:00
Original source

too easy, i can't imagine that ‍♀️

rektbyfaith
Administrator
0
04-24-2022, 03:44 PM
#37
Archived author: Foe • Posted: 2022-04-24T15:44:02.598000+00:00
Original source

rektbyfaith
04-24-2022, 03:44 PM #37

Archived author: Foe • Posted: 2022-04-24T15:44:02.598000+00:00
Original source

rektbyfaith
Administrator
0
04-24-2022, 03:44 PM
#38
Archived author: Foe • Posted: 2022-04-24T15:44:53.367000+00:00
Original source

if(creature:IsFullHealth() and statusStore[creature:GetGUIDLow()] == 0)
statusStore[creature:GetGUIDLow()] = 1
end
rektbyfaith
04-24-2022, 03:44 PM #38

Archived author: Foe • Posted: 2022-04-24T15:44:53.367000+00:00
Original source

if(creature:IsFullHealth() and statusStore[creature:GetGUIDLow()] == 0)
statusStore[creature:GetGUIDLow()] = 1
end

rektbyfaith
Administrator
0
04-24-2022, 03:44 PM
#39
Archived author: Foe • Posted: 2022-04-24T15:44:57.005000+00:00
Original source

then you do this in the timed event
rektbyfaith
04-24-2022, 03:44 PM #39

Archived author: Foe • Posted: 2022-04-24T15:44:57.005000+00:00
Original source

then you do this in the timed event

rektbyfaith
Administrator
0
04-24-2022, 03:45 PM
#40
Archived author: Foe • Posted: 2022-04-24T15:45:18.664000+00:00
Original source

that way you cover it on update tick as well as on damage taken
rektbyfaith
04-24-2022, 03:45 PM #40

Archived author: Foe • Posted: 2022-04-24T15:45:18.664000+00:00
Original source

that way you cover it on update tick as well as on damage taken

Pages (6): Previous 1 2 3 4 5 6 Next
Recently Browsing
 
Recently Browsing