Commit 9b7ff8d8 authored by JoyJ's avatar JoyJ

don't affect pendulum and token

parent 0cf1de9e
...@@ -22,7 +22,7 @@ function CUNGUI.filter(c,race) ...@@ -22,7 +22,7 @@ function CUNGUI.filter(c,race)
end end
function CUNGUI.val(e,c) function CUNGUI.val(e,c)
if (c:GetOriginalType() & TYPE_NORMAL)==0 then return 0 end if (c:GetOriginalType() & TYPE_NORMAL)==0 or (c:GetOriginalType() & (TYPE_PENDULUM+TYPE_TOKEN))>0 then return 0 end
local up = c:GetBaseAttack()*9 local up = c:GetBaseAttack()*9
if e:GetLabel()==1 then up = c:GetBaseDefense()*9 end if e:GetLabel()==1 then up = c:GetBaseDefense()*9 end
return up return up
......
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