Skip to content

NpcLookAroundChance dead code fix - #1535

Open
GladieUO wants to merge 1 commit into
Sphereserver:devfrom
GladieUO:fix-NpcLookAroundChance-dead-code
Open

GladieUO wants to merge 1 commit into
Sphereserver:devfrom
GladieUO:fix-NpcLookAroundChance-dead-code

Conversation

@GladieUO

Copy link
Copy Markdown
Contributor

it was a dead code
Random roll 0,99
uiLookAroundChance was min. 100

condition 0,99 >= 100+
execute...

now it should be true % based

it was a dead code
Random roll 0,99
uiLookAroundChance  was min. 100

condition 0,99 >= 100+
execute...

now it should be true % based
JulianUO added a commit to JulianUO/UOAscension-SphereX that referenced this pull request Sep 13, 2026
…and gameplay mechanics

- Integrated PR Sphereserver#1327: CLOSECONTAINER and CLOSEVENDORMENU client verbs
- Integrated PR Sphereserver#1590: CV_NUKE refactor and CV_NUKEITEM command
- Integrated PR Sphereserver#1589: PingFloodMax speedhack detection on packet 0x73
- Integrated PR Sphereserver#1587: NAME.PREFIX / NAME.SUFFIX in addItemName
- Integrated mtwango/edebaa6: lingering character reconnect handling
- Integrated PR Sphereserver#1568: immediate weather, light, and season sync on sector change
- Integrated PR Sphereserver#1566: optional bell curve parameter for SKILLCHECK
- Integrated PR Sphereserver#1600: safe dynamic_cast container owner check in CanContainerHold
- Integrated PR Sphereserver#1497: robust bitmask memory clear preserving MEMORY_IPET/MEMORY_FRIEND
- Integrated PR Sphereserver#1523: corpse item count and weight filtering for hair and special flags
- Integrated PR Sphereserver#1535: fix NpcLookAroundChance clamping and probability evaluation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants