Please sign in to comment.
Implement refreshing auras declaratively
This is the fifth version of the Aura API We are not deprecating the old system yet, although this is preferrable over attribute-script based modifiers where relevant. Previously, we would create an attribute script for atk/cost for some cards and return a modified value based on the board. For example, Old Murk-Eye would consistently have its attack depend on the number of murlocs on the board. This is a problem for three reasons: - It's ugly in the DSL. You'd have to filter the board with race=Race.MURLOC, exclude self, etc. The new system allows for reuse of selectors. - Attribute scripts are constantly "on". Murk-Eye would then have 3 atk in the hand, Mountain Giant would have its cost reduced on the board, etc. - We currently have to create custom cards for every single buff. That's a huge hassle, and problematic for Kettle.
- Loading branch information...
Showing with 75 additions and 3 deletions.