-
Notifications
You must be signed in to change notification settings - Fork 734
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I affirm:
- I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
- I have read and understood the Contributing Guide and the Code of Conduct.
- I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.
OS / platform the server is running (if known)
Noticed pulling data points for my geo PR. If we add an aura status effect with a float subpower, it gets rounded up when applying the effect. No idea what kind of voodoo is happening behind the scenes with aura effects

Branch affected by issue
base
Steps to reproduce
!exec player:addStatusEffectEx(xi.effect.COLURE_ACTIVE, xi.effect.COLURE_ACTIVE, 0, 3,30,539,1.66,0,xi.effectFlag.AURA)
- see that the regen power is 2 when we sent 1.66 as the subpower for subeffect GEO_REGEN
!exec print(player:getStatusEffect(xi.effect.COLURE_ACTIVE):getSubPower())
Expected behavior
casting from double to uint should truncate power?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working