Skip to content
Snippets Groups Projects
Commit eecc3ede authored by DarkGod's avatar DarkGod
Browse files

plop

parent e5652915
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,7 @@ newTalent{
return self.ai_state._pref_staff_element ~= (staff.combat.element or staff.combat.damtype)
end
end,
on_pre_use = function(self, t, silent) if not self:hasStaffWeapon() then if not silent then game.logPlayer(self, "You need a staff.") end return false end return true end,
action = function(self, t)
local staff = self:hasStaffWeapon()
if not staff or not staff.wielder or not staff.wielder.learn_talent or not staff.wielder.learn_talent[self.T_COMMAND_STAFF] then
......
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