summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/Hooks/OnKilling.lua
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-06-04 12:28:43 +0200
committerworktycho <work.tycho@gmail.com>2015-06-04 12:28:43 +0200
commitc9ad1ecd3e9931e6928f8846bdb26cf6f8a6a957 (patch)
treea74fed75c1cd63c0bc1f2c582a00c4bb2d0bbe4e /MCServer/Plugins/APIDump/Hooks/OnKilling.lua
parentMerge pull request #2188 from cengizIO/master (diff)
parentAdded SendSystemMessage / SendAboveActionBarMessage to the docs (diff)
downloadcuberite-c9ad1ecd3e9931e6928f8846bdb26cf6f8a6a957.tar
cuberite-c9ad1ecd3e9931e6928f8846bdb26cf6f8a6a957.tar.gz
cuberite-c9ad1ecd3e9931e6928f8846bdb26cf6f8a6a957.tar.bz2
cuberite-c9ad1ecd3e9931e6928f8846bdb26cf6f8a6a957.tar.lz
cuberite-c9ad1ecd3e9931e6928f8846bdb26cf6f8a6a957.tar.xz
cuberite-c9ad1ecd3e9931e6928f8846bdb26cf6f8a6a957.tar.zst
cuberite-c9ad1ecd3e9931e6928f8846bdb26cf6f8a6a957.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/Hooks/OnKilling.lua')
-rw-r--r--MCServer/Plugins/APIDump/Hooks/OnKilling.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnKilling.lua b/MCServer/Plugins/APIDump/Hooks/OnKilling.lua
index 8ec1cfe2e..5e84009db 100644
--- a/MCServer/Plugins/APIDump/Hooks/OnKilling.lua
+++ b/MCServer/Plugins/APIDump/Hooks/OnKilling.lua
@@ -17,6 +17,7 @@ return
{
{ Name = "Victim", Type = "{{cPawn}}", Notes = "The player or mob that is about to be killed" },
{ Name = "Killer", Type = "{{cEntity}}", Notes = "The entity that has caused the victim to lose the last point of health. May be nil for environment damage" },
+ { Name = "TDI", Type = "{{TakeDamageInfo}}", Notes = "The damage type, cause and effects." },
},
Returns = [[
If the function returns false or no value, MCServer calls other plugins with this event. If the