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

Function SetPlrHandGoldCurs

Source/items.cpp:847–855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845}
846
847void SetPlrHandGoldCurs(ItemStruct *h)
848{
849 if (h->_ivalue >= GOLD_MEDIUM_LIMIT)
850 h->_iCurs = ICURS_GOLD_LARGE;
851 else if (h->_ivalue <= GOLD_SMALL_LIMIT)
852 h->_iCurs = ICURS_GOLD_SMALL;
853 else
854 h->_iCurs = ICURS_GOLD_MEDIUM;
855}
856
857void CreatePlrItems(int p)
858{

Callers 1

DropHalfPlayersGoldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected