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

Mind wards correctly work

git-svn-id: http://svn.net-core.org/repos/t-engine4@5806 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4e075620
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,10 @@ newChat{ id="welcome",
cond = function() return has_ward(DamageType.PHYSICAL) end,
action = function() return set_ward(DamageType.PHYSICAL, (src.wards[DamageType.PHYSICAL] or 0)) end,
},
{"Nature ["..(src.wards[DamageType.NATURE] or 0).."]",
cond = function() return has_ward(DamageType.NATURE) end,
action = function() return set_ward(DamageType.NATURE, (src.wards[DamageType.NATURE] or 0)) end,
},
{"Blight ["..(src.wards[DamageType.BLIGHT] or 0).."]",
cond = function() return has_ward(DamageType.BLIGHT) end,
action = function() return set_ward(DamageType.BLIGHT, (src.wards[DamageType.BLIGHT] or 0)) end,
......@@ -74,6 +78,10 @@ newChat{ id="welcome",
cond = function() return has_ward(DamageType.ACID) end,
action = function() return set_ward(DamageType.ACID, (src.wards[DamageType.ACID] or 0)) end,
},
{"Mind ["..(src.wards[DamageType.MIND] or 0).."]",
cond = function() return has_ward(DamageType.MIND) end,
action = function() return set_ward(DamageType.MIND, (src.wards[DamageType.MIND] or 0)) end,
},
{"Never mind"},
}
......
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