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

Enhanced Archery Mechanisms #45

Open
BenCheung0422 opened this issue Dec 24, 2024 · 0 comments
Open

Enhanced Archery Mechanisms #45

BenCheung0422 opened this issue Dec 24, 2024 · 0 comments

Comments

@BenCheung0422
Copy link
Member

Original: MinicraftPlus/minicraft-plus-revived#570

Background

In the current implementation, only simple arrows with fixed damage and different material levels of bows are in the game. There were different trials and implementations of arrow hit limit previously in Minicraft+, but still failed by the world system or the physics engine. Currently, arrows are always consumed when fired out, which may be unbalanced and decrease the usefulness of bows. The mentioned feature of arrow bundle in #37 would be useful in this system. Arrow counting in the inventory might be expensive as it is calculated and checked for each firing action, instead of only check if an arrow has successfully consumed.

Details

An arrow would only handle a certain amount (with a few random variation) of damage before consumed when fired out. Arrows would be returned if the arrow has not handled any damage (or a damage arrow would be returned instead), hit on a tile or no collision occurred within a maximum distance travelled.

The arrow bundle would be used and required (or simplify arrow counting mentioned instead of being necessary) when using a bow to fire an arrow. The arrow counting would also be done using the bundle (if available) for prioritized arrow selection.

We can have a dedicated workstation for (utility) arrows, costing some materials and the base arrows in making utility arrows. The utility arrows can have different abilities depending on the type of utility. For example, explosion, healing, poison, fire, strength, weakness, harming, slowness (or ice), can be used as the utilities. Some may consume potions and some may consume other materials. Probably enchanting or arrow grading could be used to enhance the strengths of the utilities.

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