Skip to content
Snippets Groups Projects
Commit 1da374bc authored by dg's avatar dg
Browse files

Slavers control orb can not be used if attacking the slave master

git-svn-id: http://svn.net-core.org/repos/t-engine4@5866 51575b47-30f0-44d4-a5cc-537603b46e54
parent 0eed8100
No related branches found
No related tags found
No related merge requests found
game/modules/tome/data/gfx/shockbolt/terrain/control_orb_red.png

9.03 KiB

......@@ -39,12 +39,13 @@ newEntity{ define_as = "LAVA_WALL_OPAQUE",
newEntity{
define_as = "CONTROL_ORB",
name = "Slave Control Orb", image = "terrain/marble_floor.png", add_displays = {class.new{image="terrain/worldmap.png"}},
name = "Slave Control Orb", image = "terrain/marble_floor.png", add_displays = {class.new{image="terrain/control_orb_red.png"}},
display = '*', color=colors.PURPLE,
notice = true,
always_remember = true,
faction = "slavers",
block_move = function(self, x, y, e, act, couldpass)
if e and e.player and act then
if e and e.player and act and e:reactionToward(self) >= 0 then
local chat = require("engine.Chat").new("ring-of-blood-orb", self, e)
chat:invoke()
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment