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

Function delta_kill_monster

Source/msg.cpp:307–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307void delta_kill_monster(int mi, BYTE x, BYTE y, BYTE bLevel)
308{
309 DMonsterStr *pD;
310
311 if (gbMaxPlayers != 1) {
312 sgbDeltaChanged = TRUE;
313 pD = &sgLevels[bLevel].monster[mi];
314 pD->_mx = x;
315 pD->_my = y;
316 pD->_mdir = monster[mi]._mdir;
317 pD->_mhitpoints = 0;
318 }
319}
320
321void delta_monster_hp(int mi, int hp, BYTE bLevel)
322{

Callers 4

On_MONSTDEATHFunction · 0.85
On_KILLGOLEMFunction · 0.85
M2MStartKillFunction · 0.85
M_StartKillFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected