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

Maxx "C" solution #19

Open
handsomekiwi opened this issue Apr 2, 2018 · 10 comments
Open

Maxx "C" solution #19

handsomekiwi opened this issue Apr 2, 2018 · 10 comments

Comments

@handsomekiwi
Copy link
Contributor

I want to write a function about Maxx "c" ,below is it's effect:
During either player's turn: You can send this card from your hand to the Graveyard; this turn, each time your opponent Special Summons a monster(s), immediately draw 1 card. You can only use 1 "Maxx "C"" per turn.

I want to chain when enemy activate effect in special summon monster(s),but I have no idea to start,please help me.

@mercury233
Copy link
Collaborator

Neither do I.

@OhnkytaBlabdey
Copy link
Contributor

楼上说的对,枚举可能是最简单的办法

@mercury233
Copy link
Collaborator

即使枚举,也很难判断有多个效果的卡发动的是否是特招效果

@handsomekiwi
Copy link
Contributor Author

所以意思是目前无法对enemy所发动的效果(有特召、破坏等可辨识特定效果)去做判断吗

@mercury233
Copy link
Collaborator

@handsomekiwi
Copy link
Contributor Author

印象中以前的版本的AI好像有,可能要研究一下怎把Lua加进c#了

@mercury233
Copy link
Collaborator

percy的ai是直接在内核执行代码,能获取效果的category,能获取和操作不是自己的卡,windbot是客户端的,没有这些能力,所以即使上lua也不能干这事

@handsomekiwi
Copy link
Contributor Author

不能撷取效果的category,这样的AI很多事都不能做了(╯°Д°)╯ ┻━┻

@handsomekiwi
Copy link
Contributor Author

我想目前的办法只能从ygopro的效果动刀了,直接更改Maxx "c"发动时机?

@mercury233
Copy link
Collaborator

不建议更改ygopro部分,因为windbot的设定是一个普通的客户端,服务端不应该迁就它

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants