oyachai / HearthSim

Generic Hearthstone game simulator
MIT License
316 stars 59 forks source link

Adjacent auras (2 cards) #58

Closed MrHen closed 5 years ago

MrHen commented 9 years ago

Looking through the list of unimplemented cards shows two cards with adjacent auras

ReferenceCard(EX1_565, Flametongue Totem, Minion, Basic, Common, 2, Shaman, Adjacent minions have +2 Attack., [AdjacentBuff, Aura], 0, 3, null, true)
ReferenceCard(EX1_162, Dire Wolf Alpha, Minion, Classic, Common, 2, Neutral, Adjacent minions have +1 Attack., [AdjacentBuff, Aura], 2, 2, null, true)
MrHen commented 9 years ago

Also, Wee Spellstopper has a similar mechanic but instead of stat bonuses it gives targeting immunity. So... something to think about while implementing this.

MrHen commented 9 years ago

Starting on this.

oyachai commented 9 years ago

How do you plan to implement this? Adjacent aura checks for every minion placement and removal?

MrHen commented 9 years ago

I have a couple ideas to try out but the first attempt will be having these implement MinionPlacedInterface and check for adjacency.

MrHen commented 9 years ago

I'm no longer looking at this; got totally sidetracked by Heroes of the Storm. I wouldn't expect any PRs from me in the near future, sorry.

(On the other hand, if you play HotS, I'm always looking for more friends to play with...)