Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WX14 bugs #28

Merged
merged 4 commits into from
Feb 9, 2017
Merged

Fix WX14 bugs #28

merged 4 commits into from
Feb 9, 2017

Conversation

Deardrops
Copy link
Collaborator

@Deardrops Deardrops commented Feb 8, 2017

#23 修复部分 Bugs:

  1. 无法阻止 抽牌效果 发动 大白鲨 x 爱心代号cmr
  • 已修改
  • 已测试
  1. 修复 白罗星 阋神星 的类型为 精罗:宇宙
  • 已修改
  1. 蝙蝠车 添加 武装 判断
  • 已修改
  • 已测试
  1. 水天一碧胡桃夹子 从能量区移动到手牌,发动后者的效果
  • 已测试 无问题

@Deardrops
Copy link
Collaborator Author

Deardrops commented Feb 8, 2017

情况:对方爱心代号cmr在场,我方大白鲨在场,我方回合

addCardToHandBanned === true

player.draw => game.moveCards => card.moveTo =>

player.draw中先添加了attackPhaseDrawCount
card.moveTo中检测到card.player.addCardToHandBanned,并阻止抽牌。
实际抽牌的效果不会发动,但是大白鲨的竖置效果会发动(检测到attackPhaseDrawCount已经添加)

解决办法:在player.draw中检测addCardToHandBanned并阻止

@webxoss
Copy link
Owner

webxoss commented Feb 9, 2017

后面怎样了?

@webxoss webxoss added the bug label Feb 9, 2017
@webxoss webxoss mentioned this pull request Feb 9, 2017
23 tasks
@webxoss webxoss merged commit d2638ca into webxoss:WX14 Feb 9, 2017
@Deardrops Deardrops deleted the WX14 branch April 11, 2017 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants