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

Fighting distance is weird in this simulator #2

Open
utensil opened this issue Nov 10, 2011 · 1 comment
Open

Fighting distance is weird in this simulator #2

utensil opened this issue Nov 10, 2011 · 1 comment

Comments

@utensil
Copy link

utensil commented Nov 10, 2011

Hi!

It's great to see someone writing an LOL simulator. I read through the the code and the implementation is quite straight forward.

But there's something weird when champions are fighting.

You seem to choose a distance that is Math.max(champ.range, enemy.range) to start fighting, but if so, for two champions with different attack range, one will fail to attack the other...And your champions can't move it seems...

@theRobinator
Copy link
Owner

You're right, range mechanics haven't been implemented yet. The next planned patch is an object for a champion's actions, which will add ranges to actions and put a delay on the time that it takes to execute the action based on the champion's move speed and range combined.

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

2 participants