(hex, abilityIndex, controller)
| 383 | }, |
| 384 | |
| 385 | scoreAbilityHex(hex, abilityIndex, controller) { |
| 386 | const activeCreature = controller.game.activeCreature; |
| 387 | if (!activeCreature) { |
| 388 | return undefined; |
| 389 | } |
| 390 | |
| 391 | if (abilityIndex === ABILITY.GUMMY_MALLET) { |
| 392 | return scoreGummyMallet(hex, activeCreature, controller); |
| 393 | } |
| 394 | |
| 395 | if (abilityIndex === ABILITY.PRETTY_RIBBON) { |
| 396 | return scorePrettyRibbon(hex, activeCreature, controller); |
| 397 | } |
| 398 | |
| 399 | if (abilityIndex === ABILITY.BOOM_BOX) { |
| 400 | return scoreBoomBox(hex, activeCreature, controller); |
| 401 | } |
| 402 | |
| 403 | return undefined; |
| 404 | }, |
| 405 | |
| 406 | getAbilityPriority(creature, controller) { |
| 407 | const supportMode = hasBiggerAlliedFrontliner(creature, controller); |
no test coverage detected