Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Mithria, if you set to 95 and put yourself at 80% hp it wont trigger?, but if you do it for 99 and s

[DiscordArchive] Mithria, if you set to 95 and put yourself at 80% hp it wont trigger?, but if you do it for 99 and s

[DiscordArchive] Mithria, if you set to 95 and put yourself at 80% hp it wont trigger?, but if you do it for 99 and s

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
10-07-2025, 10:43 AM
#11
Archived author: Ryan Turner • Posted: 2025-10-07T10:43:34.755000+00:00
Original source

floats are always rounded up
rektbyfaith
10-07-2025, 10:43 AM #11

Archived author: Ryan Turner • Posted: 2025-10-07T10:43:34.755000+00:00
Original source

floats are always rounded up

rektbyfaith
Administrator
0
10-07-2025, 10:43 AM
#12
Archived author: Ryan Turner • Posted: 2025-10-07T10:43:40.252000+00:00
Original source

(for the health pct)
rektbyfaith
10-07-2025, 10:43 AM #12

Archived author: Ryan Turner • Posted: 2025-10-07T10:43:40.252000+00:00
Original source

(for the health pct)

rektbyfaith
Administrator
0
10-07-2025, 10:43 AM
#13
Archived author: Ryan Turner • Posted: 2025-10-07T10:43:47.669000+00:00
Original source

But even then shouldn't matter
rektbyfaith
10-07-2025, 10:43 AM #13

Archived author: Ryan Turner • Posted: 2025-10-07T10:43:47.669000+00:00
Original source

But even then shouldn't matter

rektbyfaith
Administrator
0
10-07-2025, 10:43 AM
#14
Archived author: Mithria • Posted: 2025-10-07T10:43:50.243000+00:00
Original source

yeah
rektbyfaith
10-07-2025, 10:43 AM #14

Archived author: Mithria • Posted: 2025-10-07T10:43:50.243000+00:00
Original source

yeah

rektbyfaith
Administrator
0
10-07-2025, 10:44 AM
#15
Archived author: Ryan Turner • Posted: 2025-10-07T10:44:08.112000+00:00
Original source

1 - 95

80 is higher than 1 and lower than 95 should be true
rektbyfaith
10-07-2025, 10:44 AM #15

Archived author: Ryan Turner • Posted: 2025-10-07T10:44:08.112000+00:00
Original source

1 - 95

80 is higher than 1 and lower than 95 should be true

rektbyfaith
Administrator
0
10-07-2025, 10:44 AM
#16
Archived author: Mithria • Posted: 2025-10-07T10:44:45.776000+00:00
Original source

looks like when i use 95 in param2, the SMART_EVENT_TARGET_HEALTH_PCT case returns early constantly, but its triggering both failure return paths
rektbyfaith
10-07-2025, 10:44 AM #16

Archived author: Mithria • Posted: 2025-10-07T10:44:45.776000+00:00
Original source

looks like when i use 95 in param2, the SMART_EVENT_TARGET_HEALTH_PCT case returns early constantly, but its triggering both failure return paths

rektbyfaith
Administrator
0
10-07-2025, 10:45 AM
#17
Archived author: Mithria • Posted: 2025-10-07T10:45:14.881000+00:00
Original source

sometimes
`!me || !me->IsEngaged() || !me->GetVictim() || !me->GetVictim()->GetMaxHealth())`
fails

sometimes
`perc > e.event.minMaxRepeat.max || perc < e.event.minMaxRepeat.min`
fails
rektbyfaith
10-07-2025, 10:45 AM #17

Archived author: Mithria • Posted: 2025-10-07T10:45:14.881000+00:00
Original source

sometimes
`!me || !me->IsEngaged() || !me->GetVictim() || !me->GetVictim()->GetMaxHealth())`
fails

sometimes
`perc > e.event.minMaxRepeat.max || perc < e.event.minMaxRepeat.min`
fails

rektbyfaith
Administrator
0
10-07-2025, 10:45 AM
#18
Archived author: Mithria • Posted: 2025-10-07T10:45:37.332000+00:00
Original source

it looks like as soon as i join in on combat (when it should start casting on me) its the 2nd one that fails
rektbyfaith
10-07-2025, 10:45 AM #18

Archived author: Mithria • Posted: 2025-10-07T10:45:37.332000+00:00
Original source

it looks like as soon as i join in on combat (when it should start casting on me) its the 2nd one that fails

rektbyfaith
Administrator
0
10-07-2025, 10:45 AM
#19
Archived author: Mithria • Posted: 2025-10-07T10:45:43.305000+00:00
Original source

but my health is between the min and max
rektbyfaith
10-07-2025, 10:45 AM #19

Archived author: Mithria • Posted: 2025-10-07T10:45:43.305000+00:00
Original source

but my health is between the min and max

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