summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-03-05 09:39:47 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2017-03-05 09:39:47 +0000
commit36cf0693fe4fbcbad9a93aa2120f0dc7a225b887 (patch)
treeb3f6e198ed294476ada4385bde8b73004558843e
parent18d42f2285512b62bf81ca180538e0511bad448b (diff)
revert damage_per_second check (for now)
-rw-r--r--api.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/api.lua b/api.lua
index 4403b76..38efd6c 100644
--- a/api.lua
+++ b/api.lua
@@ -1,5 +1,5 @@
--- Mobs Api (2nd March 2017)
+-- Mobs Api (5th March 2017)
mobs = {}
mobs.mod = "redo"
@@ -630,13 +630,13 @@ do_env_damage = function(self)
effect(pos, 5, "fire_basic_flame.png", nil, nil, 1, nil)
-- damage_per_second node check
- elseif minetest.registered_nodes[self.standing_in].damage_per_second ~= 0 then
+-- elseif minetest.registered_nodes[self.standing_in].damage_per_second ~= 0 then
- local dps = minetest.registered_nodes[self.standing_in].damage_per_second
+-- local dps = minetest.registered_nodes[self.standing_in].damage_per_second
- self.health = self.health - dps
+-- self.health = self.health - dps
- effect(pos, 5, "tnt_smoke.png")
+-- effect(pos, 5, "tnt_smoke.png")
end
end