oyachai / HearthSim

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

Feature/rng targeting #87

Closed MrHen closed 9 years ago

MrHen commented 9 years ago

Resolves https://github.com/oyachai/HearthSim/issues/86.

Added a bunch of logic for dealing with RNG effects and tried to put all of it in Card. Some of the main logic should probably live on HearthTreeNode or BoardModel instead but for now it's safe in Card.

Part of the refactoring that happened made WeaponCard and Minion "closer" to the standard behavior for cards.