[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
Archived author: Tea • Posted: 2025-07-06T10:40:31.108000+00:00
Original source
its a huge amount of work
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?
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
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"
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?
Archived author: Telegrill • Posted: 2025-07-06T10:48:51.511000+00:00
Original source
ah but it was flat and pct mods
![[Image: image.png?ex=690c7d84&is=690b2c04&hm=52b...39bac32e2&]](https://cdn.discordapp.com/attachments/376074396915335170/1391370780998107166/image.png?ex=690c7d84&is=690b2c04&hm=52b06d9456197f9293aeb9ed29597eb75042cbf670e1d1a5b60e39939bac32e2&)
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&]](https://cdn.discordapp.com/attachments/376074396915335170/1391370780998107166/image.png?ex=690c7d84&is=690b2c04&hm=52b06d9456197f9293aeb9ed29597eb75042cbf670e1d1a5b60e39939bac32e2&)
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
Archived author: Telegrill • Posted: 2025-07-06T10:52:42.253000+00:00
Original source
can health be int?
Archived author: Telegrill • Posted: 2025-07-06T10:52:46.968000+00:00
Original source
like -1?