Skip to content

Commit

Permalink
Improved AI for Sixth Sense effects (#4371)
Browse files Browse the repository at this point in the history
* Improved AI for Sixth Sense effects

Improves targeting AI for Combat Research, Catlike Curiosity
  • Loading branch information
Klisz authored Dec 14, 2023
1 parent 330599a commit 8d921f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion forge-gui/res/cardsfolder/c/combat_research.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Name:Combat Research
ManaCost:U
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | ValidTgts$ Creature | AILogic$ Curiosity | AITgts$ Creature.Legendary
A:SP$ Attach | ValidTgts$ Creature | AILogic$ Curiosity | AITgts$ Creature.Legendary+YouCtrl
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddTrigger$ TrigDamageDone | Description$ Enchanted creature has "Whenever this creature deals combat damage to a player, draw a card."
SVar:TrigDamageDone:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDraw | TriggerDescription$ Whenever this creature deals combat damage to a player, draw a card.
SVar:TrigDraw:DB$ Draw
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ManaCost:no cost
Colors:blue
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | ValidTgts$ Creature | TgtPrompt$ Select target creature | AILogic$ Pump
A:SP$ Attach | ValidTgts$ Creature | TgtPrompt$ Select target creature | AILogic$ Curiosity
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddTrigger$ TrigDamageDone | Description$ Enchanted creature has "Whenever this creature deals combat damage to a player, draw a card."
SVar:TrigDamageDone:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDraw | TriggerDescription$ Whenever this creature deals combat damage to a player, draw a card.
SVar:TrigDraw:DB$ Draw
Expand Down

0 comments on commit 8d921f8

Please sign in to comment.