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

Питомцы на арене #16

Open
eigenein opened this issue Dec 15, 2019 · 1 comment
Open

Питомцы на арене #16

eigenein opened this issue Dec 15, 2019 · 1 comment

Comments

@eigenein
Copy link
Owner

В списке противников питомец выглядит как герой с флагом type:

{"id":6005,"level":45,"color":1,"star":2,"type":"pet"}

В атаке на обычной арене:

{"calls":[{"name":"arenaAttack","args":{"userId":6404278,"heroes":[10,13,35,25,39],"pet":6000},"ident":"body"}]}

На гранд арене:

{"calls":[{"name":"grandAttack","args":{"userId":951791,"heroes":[[36,32,29,34,35],[40,16,28,37,7],[25,38,13,2,43]],"pets":[6000,null,null]},"ident":"body"}]}
@eigenein
Copy link
Owner Author

Это все сильно не вписывается в текущий движок арены. Его каким-то образом нужно научить подбирать питомцев так, чтобы было по одному опциональному питомцу на команду.

В первой реализации можно просто настраивать фиксированную пачку.

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

No branches or pull requests

1 participant