Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/devilution
/ SetSpellLevelCheat
Function
SetSpellLevelCheat
Source/debug.cpp:111–115 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
109
}
110
111
void SetSpellLevelCheat(char spl, int spllvl)
112
{
113
plr[myplr]._pMemSpells |= (__int64)1 << (spl - 1);
114
plr[myplr]._pSplLvl[spl] = spllvl;
115
}
116
117
void SetAllSpellsCheat()
118
{
Callers
1
SetAllSpellsCheat
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected