Commit e05633d7 authored by nanahira's avatar nanahira

fix

parent 41286f6c
...@@ -140,7 +140,7 @@ function inititialize() ...@@ -140,7 +140,7 @@ function inititialize()
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(effectCode) e1:SetCode(effectCode)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_IGNORE_IMMUNE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetValue(1) e1:SetValue(1)
c:RegisterEffect(e1,true) c:RegisterEffect(e1,true)
end end
...@@ -150,7 +150,7 @@ function inititialize() ...@@ -150,7 +150,7 @@ function inititialize()
--Debug.Message(type(buffEffects)) --Debug.Message(type(buffEffects))
local hintGiven=false local hintGiven=false
for _,buffEffect in ipairs(buffEffects) do for _,buffEffect in ipairs(buffEffects) do
local flags=EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_CANNOT_DISABLE local flags=EFFECT_FLAG_CANNOT_DISABLE
if not hintGiven then if not hintGiven then
flags=flags+EFFECT_FLAG_CLIENT_HINT flags=flags+EFFECT_FLAG_CLIENT_HINT
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment