action malus displayed inconsistently #67

Open
opened 3 years ago by planetmaker · 1 comments
planetmaker commented 3 years ago (Migrated from gitlab.com)

See the attached screenshot: the char is wearing one medium armour piece, so the total action malus should be +5.
However in the identity window, it is listed as +4.

Bildschirmfoto_von_2022-03-03_20-35-56

See the attached screenshot: the char is wearing one medium armour piece, so the total action malus should be +5. However in the identity window, it is listed as +4. ![Bildschirmfoto_von_2022-03-03_20-35-56](/uploads/da352674306ed2c75c5039e4e59130bc/Bildschirmfoto_von_2022-03-03_20-35-56.png)
ulukyn commented 3 years ago (Migrated from gitlab.com)

the malus are of medium are 0.05001

For the item:
Client display : sint(0.05001 * 1000) / 10 = 5

For the total malus:
Server send 0.05001*50 = 2,5005 but cast so send 2
Client display 2*2 = 4

the malus are of medium are 0.05001 **For the item:**\ Client display : `sint(0.05001 * 1000) / 10 = 5` **For the total malus:**\ Server send `0.05001*50 = 2,5005` but cast so send 2\ Client display `2*2 = 4`
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Ryzom/ryzom-core#67
Loading…
There is no content yet.