MCPcopy Create free account
hub / github.com/diasurgical/devilution / CalcStatDiff

Function CalcStatDiff

Source/player.cpp:685–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683}
684
685int CalcStatDiff(int pnum)
686{
687 int c;
688
689 c = plr[pnum]._pClass;
690 return MaxStats[c][ATTRIB_STR]
691 - plr[pnum]._pBaseStr
692 + MaxStats[c][ATTRIB_MAG]
693 - plr[pnum]._pBaseMag
694 + MaxStats[c][ATTRIB_DEX]
695 - plr[pnum]._pBaseDex
696 + MaxStats[c][ATTRIB_VIT]
697 - plr[pnum]._pBaseVit;
698}
699
700void NextPlrLevel(int pnum)
701{

Callers 2

DrawChrFunction · 0.85
NextPlrLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected