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

Function DoTelekinesis

Source/inv.cpp:2181–2190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2179}
2180
2181void DoTelekinesis()
2182{
2183 if (pcursobj != -1)
2184 NetSendCmdParam1(TRUE, CMD_OPOBJT, pcursobj);
2185 if (pcursitem != -1)
2186 NetSendCmdGItem(TRUE, CMD_REQUESTAGITEM, myplr, myplr, pcursitem);
2187 if (pcursmonst != -1 && !M_Talker(pcursmonst) && !monster[pcursmonst].mtalkmsg)
2188 NetSendCmdParam1(TRUE, CMD_KNOCKBACK, pcursmonst);
2189 SetCursor_(CURSOR_HAND);
2190}
2191
2192int CalculateGold(int pnum)
2193{

Callers 1

TryIconCursFunction · 0.85

Calls 4

NetSendCmdParam1Function · 0.85
NetSendCmdGItemFunction · 0.85
M_TalkerFunction · 0.85
SetCursor_Function · 0.85

Tested by

no test coverage detected