From da214bf2cdd6b54d49ab0fbcc9b705b3832a29b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Fidalgo?= Date: Sat, 21 Sep 2024 22:21:18 +0100 Subject: [PATCH] return self on AddTraits --- src/Spell/Spell.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Spell/Spell.lua b/src/Spell/Spell.lua index 2a9ff29..7329a4f 100644 --- a/src/Spell/Spell.lua +++ b/src/Spell/Spell.lua @@ -659,6 +659,7 @@ function Spell:AddTraits(traits) for _, trait in ipairs(traits) do table.insert(self.traits, trait) end + return self end -- EvaluateTraits