mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
AI logic to blink-reload a planeswalker using Teferi's Time Twist.
This commit is contained in:
committed by
swordshine
parent
cdeb944a57
commit
c5e4518779
@@ -252,6 +252,14 @@ BOUNCE_ALL_ELSEWHERE_CREAT_EVAL_DIFF=200
|
||||
BOUNCE_ALL_TO_HAND_NONCREAT_EVAL_DIFF=3
|
||||
BOUNCE_ALL_ELSEWHERE_NONCREAT_EVAL_DIFF=3
|
||||
|
||||
# Use a blink spell to reload a planeswalker's loyalty (e.g. Teferi's Time Twist)
|
||||
# A chance (per check) to activate this ability
|
||||
BLINK_RELOAD_PLANESWALKER_CHANCE=15
|
||||
# Maximum loyalty at which the planeswalker needs to be in order to activate the blink-reload
|
||||
BLINK_RELOAD_PLANESWALKER_MAX_LOYALTY=2
|
||||
# The difference between maximum loyalty and base loyalty of the planeswalker in order to consider blink-reloading it
|
||||
BLINK_RELOAD_PLANESWALKER_LOYALTY_DIFF=2
|
||||
|
||||
# If enabled, the AI will try to pair up cards to present to the opponent so that a specific card may be picked,
|
||||
# it'll also try to grab Accumulated Knowledge and Take Inventory more actively, as well as interact with the Trix
|
||||
# combo deck more appropriately. In Reanimator decks, this logic will make the AI pick the fattest threats in the
|
||||
|
||||
@@ -253,6 +253,14 @@ BOUNCE_ALL_ELSEWHERE_CREAT_EVAL_DIFF=200
|
||||
BOUNCE_ALL_TO_HAND_NONCREAT_EVAL_DIFF=3
|
||||
BOUNCE_ALL_ELSEWHERE_NONCREAT_EVAL_DIFF=3
|
||||
|
||||
# Use a blink spell to reload a planeswalker's loyalty (e.g. Teferi's Time Twist)
|
||||
# A chance (per check) to activate this ability
|
||||
BLINK_RELOAD_PLANESWALKER_CHANCE=30
|
||||
# Maximum loyalty at which the planeswalker needs to be in order to activate the blink-reload
|
||||
BLINK_RELOAD_PLANESWALKER_MAX_LOYALTY=2
|
||||
# The difference between maximum loyalty and base loyalty of the planeswalker in order to consider blink-reloading it
|
||||
BLINK_RELOAD_PLANESWALKER_LOYALTY_DIFF=2
|
||||
|
||||
# If enabled, the AI will try to pair up cards to present to the opponent so that a specific card may be picked,
|
||||
# it'll also try to grab Accumulated Knowledge and Take Inventory more actively, as well as interact with the Trix
|
||||
# combo deck more appropriately. In Reanimator decks, this logic will make the AI pick the fattest threats in the
|
||||
|
||||
@@ -253,6 +253,14 @@ BOUNCE_ALL_ELSEWHERE_CREAT_EVAL_DIFF=400
|
||||
BOUNCE_ALL_TO_HAND_NONCREAT_EVAL_DIFF=5
|
||||
BOUNCE_ALL_ELSEWHERE_NONCREAT_EVAL_DIFF=5
|
||||
|
||||
# Use a blink spell to reload a planeswalker's loyalty (e.g. Teferi's Time Twist)
|
||||
# A chance (per check) to activate this ability
|
||||
BLINK_RELOAD_PLANESWALKER_CHANCE=70
|
||||
# Maximum loyalty at which the planeswalker needs to be in order to activate the blink-reload
|
||||
BLINK_RELOAD_PLANESWALKER_MAX_LOYALTY=2
|
||||
# The difference between maximum loyalty and base loyalty of the planeswalker in order to consider blink-reloading it
|
||||
BLINK_RELOAD_PLANESWALKER_LOYALTY_DIFF=1
|
||||
|
||||
# If enabled, the AI will try to pair up cards to present to the opponent so that a specific card may be picked,
|
||||
# it'll also try to grab Accumulated Knowledge and Take Inventory more actively, as well as interact with the Trix
|
||||
# combo deck more appropriately. In Reanimator decks, this logic will make the AI pick the fattest threats in the
|
||||
|
||||
@@ -253,6 +253,14 @@ BOUNCE_ALL_ELSEWHERE_CREAT_EVAL_DIFF=200
|
||||
BOUNCE_ALL_TO_HAND_NONCREAT_EVAL_DIFF=3
|
||||
BOUNCE_ALL_ELSEWHERE_NONCREAT_EVAL_DIFF=3
|
||||
|
||||
# Use a blink spell to reload a planeswalker's loyalty (e.g. Teferi's Time Twist)
|
||||
# A chance (per check) to activate this ability
|
||||
BLINK_RELOAD_PLANESWALKER_CHANCE=60
|
||||
# Maximum loyalty at which the planeswalker needs to be in order to activate the blink-reload
|
||||
BLINK_RELOAD_PLANESWALKER_MAX_LOYALTY=2
|
||||
# The difference between maximum loyalty and base loyalty of the planeswalker in order to consider blink-reloading it
|
||||
BLINK_RELOAD_PLANESWALKER_LOYALTY_DIFF=1
|
||||
|
||||
# If enabled, the AI will try to pair up cards to present to the opponent so that a specific card may be picked,
|
||||
# it'll also try to grab Accumulated Knowledge and Take Inventory more actively, as well as interact with the Trix
|
||||
# combo deck more appropriately. In Reanimator decks, this logic will make the AI pick the fattest threats in the
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name:Teferi's Time Twist
|
||||
ManaCost:1 U
|
||||
Types:Instant
|
||||
A:SP$ ChangeZone | Cost$ 1 U | ValidTgts$ Permanent.YouCtrl | TgtPrompt$ Select target permanent you control | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | AILogic$ DelayedBounce | SubAbility$ DBAnimate | SpellDescription$ Exile target permanent you control. Return that card to the battlefield under its owner’s control at the beginning of the next end step. If it enters the battlefield as a creature, it enters with an additional +1/+1 counter on it.
|
||||
A:SP$ ChangeZone | Cost$ 1 U | ValidTgts$ Permanent.YouCtrl | TgtPrompt$ Select target permanent you control | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | AILogic$ DelayedBlink | SubAbility$ DBAnimate | SpellDescription$ Exile target permanent you control. Return that card to the battlefield under its owner’s control at the beginning of the next end step. If it enters the battlefield as a creature, it enters with an additional +1/+1 counter on it.
|
||||
SVar:DBAnimate:DB$ Animate | Defined$ Remembered | Keywords$ etbCounter:P1P1:1:ValidCard$ Creature.IsRemembered | RememberObjects$ Remembered | SubAbility$ DelTrig | AILogic$ Always
|
||||
SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ TrigBounce | RememberObjects$ Remembered | AILogic$ Always | TriggerDescription$ Return that card to the battlefield under its owner’s control at the beginning of the next end step. If it enters the battlefield as a creature, it enters with an additional +1/+1 counter on it.
|
||||
SVar:TrigBounce:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | Defined$ DelayTriggerRemembered
|
||||
|
||||
Reference in New Issue
Block a user