• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gryffon / ringteki / 5391
81%
develop: 38%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: develop
Ran 02 Feb 2019 12:34PM UTC
Jobs 1
Files 766
Run time 41s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5391

push

travis-ci

web-flow
Refactor Ability Resolver (#2827)

Previously, the ability resolver was a bit of a mish-mash of custom built events and event windows. Due to recent rulings, we have more clarity about how the playing cards/initating abilities process works. This means that the ability resolver now works as follows (which I think is much closer to the way the game rules mandate):

Step 1 & 2 happen before an ability is clicked
After the card is clicked, the ability resolver is added to the pipeline
it snapshots the ability's source
it raises an onCardAbilityInitiated event (any interrupts to ability initiation trigger here)
this adds step 3, 4, 5 and 6 to the pipeline
step 6 raises an onInitiateAbilityEffects event, which checks for cancels
the window for reactions to onCardAbilityInitiated happen next
finally the handler is executed (assuming the ability wasn't cancelled)

* Refactor Ability Resolver

* Remove erroneous edits to CardAbility

* Update abilityresolver.js

Events which are cancelled during targeting shouldn't trigger e.g. WC

4034 of 5528 branches covered (72.97%)

10910 of 13045 relevant lines covered (83.63%)

31266.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5391.1 (CXX=g++-4.9) 02 Feb 2019 12:34PM UTC 0
80.46
Travis Job 5391.1
Source Files on build 5391
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5391
  • fa24302d on github
  • Prev Build on cote (#5376)
  • Next Build on cote (#5392)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc