Skip to content

Commit 6cb303d

Browse files
authored
Updated the "Power Patron" monsters to handle the replacement effect of "Dead-End Power Patron Realm - Viraia"
1 parent 1e6e4f9 commit 6cb303d

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

constant.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,7 @@ EFFECT_FUR_HIRE_REPLACE = 101303062
980980
EFFECT_GOLDEN_ALLURE_QUEEN = 95937545
981981
EFFECT_ICEBARRIER_REPLACE = 18319762
982982
EFFECT_MULTIPLE_TUNERS = 21142671
983+
EFFECT_POWER_PATRON_REPLACE = 101305055
983984
EFFECT_SFORCE_REPLACE = 55049722 --Uses "S-Force Chase"'s code, but it is also an effect of "S-Force Retroactive"
984985
EFFECT_SUPREME_CASTLE = 72043279
985986
EFFECT_SYNSUB_NORDIC = 61777313

official/c10266279.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function s.initial_effect(c)
2424
e2:SetType(EFFECT_TYPE_IGNITION)
2525
e2:SetRange(LOCATION_MZONE)
2626
e2:SetCountLimit(1,{id,1})
27-
e2:SetCost(s.mdescost)
27+
e2:SetCost(aux.CostWithReplace(s.mdescost,EFFECT_POWER_PATRON_REPLACE))
2828
e2:SetTarget(s.mdestg)
2929
e2:SetOperation(s.mdesop)
3030
c:RegisterEffect(e2)

official/c17473466.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function s.initial_effect(c)
1919
e2:SetType(EFFECT_TYPE_IGNITION)
2020
e2:SetRange(LOCATION_MZONE)
2121
e2:SetCountLimit(1,{id,0})
22-
e2:SetCost(s.descost)
22+
e2:SetCost(aux.CostWithReplace(s.descost,EFFECT_POWER_PATRON_REPLACE))
2323
e2:SetTarget(s.destg)
2424
e2:SetOperation(s.desop)
2525
c:RegisterEffect(e2)

official/c43871165.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function s.initial_effect(c)
2121
e2:SetType(EFFECT_TYPE_IGNITION)
2222
e2:SetRange(LOCATION_MZONE)
2323
e2:SetCountLimit(1,{id,1})
24-
e2:SetCost(s.mdescost)
24+
e2:SetCost(aux.CostWithReplace(s.mdescost,EFFECT_POWER_PATRON_REPLACE))
2525
e2:SetTarget(s.mdestg)
2626
e2:SetOperation(s.mdesop)
2727
c:RegisterEffect(e2)

0 commit comments

Comments
 (0)