Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/devilution
/ RndPL
Function
RndPL
Source/items.cpp:1341–1344 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1339
}
1340
1341
int RndPL(int param1, int param2)
1342
{
1343
return param1 + random_(22, param2 - param1 + 1);
1344
}
1345
1346
int PLVal(int pv, int p1, int p2, int minv, int maxv)
1347
{
Callers
1
SaveItemPower
Function · 0.85
Calls
1
random_
Function · 0.85
Tested by
no test coverage detected