From c383d300e1502e50f2185ea90993386e0edeacb2 Mon Sep 17 00:00:00 2001 From: AFCMS Date: Sun, 9 May 2021 16:58:09 +0200 Subject: [PATCH] add some extra function to doc --- mods/CORE/mcl_damage/API.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/CORE/mcl_damage/API.md b/mods/CORE/mcl_damage/API.md index 1b2a3895b..76b74ee9f 100644 --- a/mods/CORE/mcl_damage/API.md +++ b/mods/CORE/mcl_damage/API.md @@ -10,3 +10,7 @@ Register damage modifier. * priority: int, define call order of registered functions You should make use higher values for important or most used functions. + +## mcl_damage.from_mt(mt_reason) +Convert mt damage reason (nil, fall, drown, punch, node_damage) to mc like reason. +* mt_reason: table, mt damage reason \ No newline at end of file