Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] so currently, any existing modifier that uses floating points is rounded and those under 1 are not q

[DiscordArchive] so currently, any existing modifier that uses floating points is rounded and those under 1 are not q

[DiscordArchive] so currently, any existing modifier that uses floating points is rounded and those under 1 are not q

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
07-06-2025, 10:40 AM
#11
Archived author: Tea • Posted: 2025-07-06T10:40:31.108000+00:00
Original source

its a huge amount of work
rektbyfaith
07-06-2025, 10:40 AM #11

Archived author: Tea • Posted: 2025-07-06T10:40:31.108000+00:00
Original source

its a huge amount of work

rektbyfaith
Administrator
0
07-06-2025, 10:40 AM
#12
Archived author: Telegrill • Posted: 2025-07-06T10:40:49.181000+00:00
Original source

wasn't there some plan to allow floating points or doubles I don't remember exactly for BaseValue at some point?
rektbyfaith
07-06-2025, 10:40 AM #12

Archived author: Telegrill • Posted: 2025-07-06T10:40:49.181000+00:00
Original source

wasn't there some plan to allow floating points or doubles I don't remember exactly for BaseValue at some point?

rektbyfaith
Administrator
0
07-06-2025, 10:42 AM
#13
Archived author: Telegrill • Posted: 2025-07-06T10:42:48.452000+00:00
Original source

yeah I can see, it'd require a lot of changes, not only GetAmount, but most of getters and setters working with any type of calcs for Auras and Spells apparently
rektbyfaith
07-06-2025, 10:42 AM #13

Archived author: Telegrill • Posted: 2025-07-06T10:42:48.452000+00:00
Original source

yeah I can see, it'd require a lot of changes, not only GetAmount, but most of getters and setters working with any type of calcs for Auras and Spells apparently

rektbyfaith
Administrator
0
07-06-2025, 10:44 AM
#14
Archived author: Telegrill • Posted: 2025-07-06T10:44:07.651000+00:00
Original source

for example, some profession spells use basepoints as floats, say, 2.5, which translate into "chance of getting between 2-3 at craft"
rektbyfaith
07-06-2025, 10:44 AM #14

Archived author: Telegrill • Posted: 2025-07-06T10:44:07.651000+00:00
Original source

for example, some profession spells use basepoints as floats, say, 2.5, which translate into "chance of getting between 2-3 at craft"

rektbyfaith
Administrator
0
07-06-2025, 10:46 AM
#15
Archived author: Telegrill • Posted: 2025-07-06T10:46:52.950000+00:00
Original source

now that I remember, didnt CalcDamage and Healing hooks allows both pct/int32 to be passed?
rektbyfaith
07-06-2025, 10:46 AM #15

Archived author: Telegrill • Posted: 2025-07-06T10:46:52.950000+00:00
Original source

now that I remember, didnt CalcDamage and Healing hooks allows both pct/int32 to be passed?

rektbyfaith
Administrator
0
07-06-2025, 10:48 AM
#16
Archived author: Telegrill • Posted: 2025-07-06T10:48:51.511000+00:00
Original source

ah but it was flat and pct mods
rektbyfaith
07-06-2025, 10:48 AM #16

Archived author: Telegrill • Posted: 2025-07-06T10:48:51.511000+00:00
Original source

ah but it was flat and pct mods

rektbyfaith
Administrator
0
07-06-2025, 10:50 AM
#17
Archived author: Telegrill • Posted: 2025-07-06T10:50:44.695000+00:00
Original source

ah and then casts it to int
[Image: image.png?ex=690c7d84&is=690b2c04&hm=52b...39bac32e2&]
rektbyfaith
07-06-2025, 10:50 AM #17

Archived author: Telegrill • Posted: 2025-07-06T10:50:44.695000+00:00
Original source

ah and then casts it to int
[Image: image.png?ex=690c7d84&is=690b2c04&hm=52b...39bac32e2&]

rektbyfaith
Administrator
0
07-06-2025, 10:52 AM
#18
Archived author: Tea • Posted: 2025-07-06T10:52:15.732000+00:00
Original source

at some point float to int conversion must happen anyway, health is int after all
rektbyfaith
07-06-2025, 10:52 AM #18

Archived author: Tea • Posted: 2025-07-06T10:52:15.732000+00:00
Original source

at some point float to int conversion must happen anyway, health is int after all

rektbyfaith
Administrator
0
07-06-2025, 10:52 AM
#19
Archived author: Telegrill • Posted: 2025-07-06T10:52:42.253000+00:00
Original source

can health be int?
rektbyfaith
07-06-2025, 10:52 AM #19

Archived author: Telegrill • Posted: 2025-07-06T10:52:42.253000+00:00
Original source

can health be int?

rektbyfaith
Administrator
0
07-06-2025, 10:52 AM
#20
Archived author: Telegrill • Posted: 2025-07-06T10:52:46.968000+00:00
Original source

like -1?
rektbyfaith
07-06-2025, 10:52 AM #20

Archived author: Telegrill • Posted: 2025-07-06T10:52:46.968000+00:00
Original source

like -1?

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