И снова добрый вечер. После последнего обновления на 2 гб примерно перестал работать код. Может я чего то не знаю?
modifier_stats_system = class({
IsDebuff = function(self)
return false
end,
IsHidden = function(self)
return true
end,
IsPurgable = function(self)
return false
end,
RemoveOnDeath = function(self)
return true
end,
AllowIllusionDuplicate = function(self)
return false
end,
GetAttributes = function(self)
return MODIFIER_ATTRIBUTE_PERMANENT
end,
}) Все ли правильно в этом коде? Ругается на эту строчку
GetAttributes = function(self)
return MODIFIER_ATTRIBUTE_PERMANENT
Подскажите что не так?
modifier_stats_system = class({
IsDebuff = function(self)
return false
end,
IsHidden = function(self)
return true
end,
IsPurgable = function(self)
return false
end,
RemoveOnDeath = function(self)
return true
end,
AllowIllusionDuplicate = function(self)
return false
end,
GetAttributes = function(self)
return MODIFIER_ATTRIBUTE_PERMANENT
end,
}) Все ли правильно в этом коде? Ругается на эту строчку
GetAttributes = function(self)
return MODIFIER_ATTRIBUTE_PERMANENT
Подскажите что не так?