Skip to content

Commit 00270c6

Browse files
committed
fixed CanChangeIntoTypeRush and CanChangeIntoAttributeRush
Should be able to change type/attribute back to the original one
1 parent abff5b2 commit 00270c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proc_rush.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ function Card.IsCanChangePositionRush(c)
5555
return c:IsCanChangePosition() and not c:IsMaximumMode()
5656
end
5757
function Card.CanChangeIntoTypeRush(c,type,turnvalue)
58-
if c:IsOriginalRace(type) then return false end
5958
if not c:IsRace(type) then return true end
59+
if c:IsOriginalRace(type) then return false end
6060
if not c:IsHasEffect(EFFECT_CHANGE_RACE) then return true end
6161
if nil==turnvalue then turnvalue=1 end
6262
local eff={c:GetCardEffect(EFFECT_CHANGE_RACE)}
@@ -70,8 +70,8 @@ function Card.CanChangeIntoTypeRush(c,type,turnvalue)
7070
return true
7171
end
7272
function Card.CanChangeIntoAttributeRush(c,attribute,turnvalue)
73-
if c:IsOriginalAttribute(attribute) then return false end
7473
if not c:IsAttribute(attribute) then return true end
74+
if c:IsOriginalAttribute(attribute) then return false end
7575
if not c:IsHasEffect(EFFECT_CHANGE_ATTRIBUTE) then return true end
7676
if nil==turnvalue then turnvalue=1 end
7777
local eff={c:GetCardEffect(EFFECT_CHANGE_ATTRIBUTE)}

0 commit comments

Comments
 (0)