Closed salix5 closed 2 weeks ago
We've already tossed too much archetype-specific methods in utility.lua. As the development goes, it would expand more and more.
How about we make a Duel.LoadScript("archetypes/arcana.lua")
and reference it in those Arcana cards?
function c97574404.initial_effect(c)
Duel.LoadScript("archetypes/arcana.lua")
aux.EnableArcanaCoin(c,EVENT_SUMMON_SUCCESS,EVENT_FLIP_SUMMON_SUCCESS,EVENT_SPSUMMON_SUCCESS)
end
The coin-tossing effect of Arcana Force.
FLAG_ID_ARCANA_COIN The flag effect for coin result. If the effect is chosen by Light Barrier, the card will get this flag effect. 硬幣結果的標記 用光之結界選擇也會得到
FLAG_ID_REVERSAL_OF_FATE The flag effect for "get an effect from tossing coin". If the effect is chosen by Light Barrier, the card will not get this flag effect. 「投擲硬幣得到效果」的標記 用光之結界選擇不會得到 「逆轉的命運」的發動條件
Light Barrier add EFFECT_FLAG_PLAYER_TARGET 現在是玩家為對象的效果
@Wind2009-Louse @kiritosoft