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

Different speed for each attack #400

Open
Jaimarl opened this issue Aug 12, 2024 · 3 comments
Open

Different speed for each attack #400

Jaimarl opened this issue Aug 12, 2024 · 3 comments
Labels

Comments

@Jaimarl
Copy link

Jaimarl commented Aug 12, 2024

I read project readme, checked client side and server side configurations, and no such feature exists - YES

Is your feature request related to a problem? Please describe.
I wanted to make the first 2 rapier attacks slow and the next 3 fast.

Describe the solution you'd like
Add the ability to change the speed of each attack the same way it is done with damage. Without this feature, creating a unique and interesting attack pattern for a weapon is much more difficult.

@ZsoltMolnarrr
Copy link
Owner

I agree it would be nice to have such feature.

I have been thinking about this feature, and unfortunately I came to the conclusion that there is no good way to implement it.

Faster attacks within a combo would deal less damage due to the weapon cooldown reducing it. This could be automatically counteracted.
However in such scenario it would be easy to just wait before doing the quick attack, deal full damage, with the added bonus damage of speed counteract. Leading to exploitable combat.

This feature requires a great deal of math magic to get it work.
Anyone with the capacity to dwell into this is welcome to PR it.

@Jaimarl
Copy link
Author

Jaimarl commented Aug 17, 2024

Can't you just use the formula damage + (base_damage - damage)? In this case, it doesn't matter how charged the attack is, the damage will always be the same.

@ZsoltMolnarrr
Copy link
Owner

There is no such variable as base damage.
Hence no.

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

No branches or pull requests

2 participants