EpicFight

EpicFight

16M Downloads

[Suggestion]: Add a canEquip() method in Skills

Forixaim opened this issue ยท 0 comments

commented

Have you checked if there's any similar suggestions ?

  • I checked, there are no similar suggestions that have been reported.

Are you using the latest Epic Fight ?

  • I checked I'm using latest Epic Fight version.

Is this suggestion related to another mod? (i.e: add animations for X mod)

  • This is related to other mods.

The mod

Not Applicable

Minecraft Version

1.20.1

What's your suggestion?

This would be a quite simple change I think. When you're changing skills in the game, there can be a method that checks for some condition to fulfill when trying to equip a skill.

For example

You want to equip Skill A but Skill A requires Skill B and C to be equipped, and when you have them equipped you can equip said skill. But when you remove Skill B or C, Skill A will be removed alongside it.

I believe this allows the creation of very unique skills that require other skills to be able to use. I would myself keep the canEquip method pretty minimal so other programmers can tweak their own skills to fit what they like best.