Skip to content

Commit

Permalink
Make helper function local and remove test print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
soul4soul committed Sep 26, 2021
1 parent 2d699f2 commit f854ebd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/scripts/lib/register_monster_type.lua
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ registerMonsterType.immunities = function(mtype, mask)
end
end
end
function AbilityTableToSpell(ability)
local function AbilityTableToSpell(ability)
local spell = MonsterSpell()
if ability.name then
if ability.name == "melee" then
Expand Down Expand Up @@ -336,7 +336,6 @@ function AbilityTableToSpell(ability)
end
if ability.condition then
if ability.condition.type then
print(ability.condition.type)
spell:setConditionType(ability.condition.type)
end
local startDamage = 0
Expand Down

0 comments on commit f854ebd

Please sign in to comment.