master
A. Demant 2019-02-07 16:00:51 +01:00
parent be57653f31
commit 7cc04945cf
1 changed files with 4 additions and 0 deletions

View File

@ -1,10 +1,14 @@
# count each killed mob
if cmi ~= nil then
print("pingping")
cmi.register_on_diemob(function(mob,cmi_death)
print("pong")
if mob ~= nil then print(dump2(mob)) end
if cmi_death == nil then
return
end
print(dump2(cmi_death))
if cmi_death.type == nil then
return
end