summaryrefslogtreecommitdiffstats
path: root/Server/Plugins
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua36
1 files changed, 36 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 58a79fb66..288466303 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -3019,6 +3019,17 @@ local Hash = cCryptoHash.sha1HexString("DataToHash")
},
Notes = "Adds the specified amount of speed in the Z axis direction.",
},
+ ApplyArmorDamage =
+ {
+ Params =
+ {
+ {
+ Name = "DamageBlocked",
+ Type = "number",
+ },
+ },
+ Notes = "Lowers armor durability, as if the armor blocked the given amount of damage.",
+ },
ArmorCoversAgainst =
{
Params =
@@ -3124,6 +3135,31 @@ local Hash = cCryptoHash.sha1HexString("DataToHash")
},
Notes = "Returns the entity classname that this class implements. Each descendant overrides this function.",
},
+ GetEnchantmentCoverAgainst =
+ {
+ Params =
+ {
+ {
+ Name = "AttackerEntity",
+ Type = "cEntity",
+ },
+ {
+ Name = "DamageType",
+ Type = "eDamageType",
+ },
+ {
+ Name = "RawDamage",
+ Type = "number",
+ },
+ },
+ Returns =
+ {
+ {
+ Type = "number",
+ },
+ },
+ Notes = "Returns the number of hitpoints out of RawDamage that the enchantments on the currently equipped armor would cover. See {{TakeDamageInfo}} for more information on attack damage.",
+ },
GetEntityType =
{
Returns =