Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sunstruck Henchman's effect resets NUM_TURNS_IN_PLAY, causing side effects #1249

Open
Jetz72 opened this issue Aug 11, 2019 · 0 comments
Open
Labels
Milestone

Comments

@Jetz72
Copy link

Jetz72 commented Aug 11, 2019

Sunstruck Henchman: "At the start of your turn, this has a 50% chance to fall asleep."

The asleep 'Z' visual is derived from the NUM_TURNS_IN_PLAY tag, rather than a separate one. Sunstruck Henchman works by resetting this tag:

BLOCK_START BlockType=TRIGGER Entity=[entityName=Sunstruck Henchman id=17 zone=PLAY zonePos=1 cardId=ULD_180 player=1] EffectCardId= EffectIndex=0 Target=0 SubOption=-1 TriggerKeyword=TRIGGER_VISUAL
    TAG_CHANGE Entity=[entityName=Sunstruck Henchman id=17 zone=PLAY zonePos=1 cardId=ULD_180 player=1] tag=NUM_TURNS_IN_PLAY value=0 
    TAG_CHANGE Entity=[entityName=Sunstruck Henchman id=17 zone=PLAY zonePos=1 cardId=ULD_180 player=1] tag=EXHAUSTED value=1 
BLOCK_END

This can cause side effects, though. One that is arguably intended is that if it has Rush, it cannot attack heroes when it "falls asleep":

Hearthstone Screenshot 08-11-19 13 20 17
Next turn:
Hearthstone Screenshot 08-11-19 13 20 37

What probably isn't intended though is what happens when Spirit of the Rhino is played:
Hearthstone Screenshot 08-11-19 13 24 17

Since the number of turns in play was reset, Spirit of the Rhino thinks the card was played this turn.

The Charge spell is not affected, despite #662. Presumably that one cares about the age of the enchantment, not the minion.

@Jetz72 Jetz72 added this to the 15.0.0.32708 milestone Aug 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant