Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 143
    • Issues 143
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #262

Closed
Open
Created Jan 10, 2021 by PiglerthePig@PiglerYeet

Mmo Resources as Conditions

Summary

add a condition to check if the player has at least a specific value of stamina/mana

Usage

it would be used for when artifacts is used with mmocore and we want to execute skills at the cost of mana/stamina. it would be used like this:

  • mmomana{a>=5} true this would check if the player has at least 5 mana an above to execute the skills
  • mmostamina{a>=10} true this would check if the player has at least 10 stamina and above to execute the skills

Value

it would add a lot of value to the project, this would allow for developers using mmoitems and artifacts together, with the black magic solution to enable artifacts passive skills on mmoitems, like an 'onTimer' on an mmoitem, or an 'onShoot' on an mmoitem, allow us to also use mana and stamina requirements on those passive skills. an example is a bow that deals extra damage while you are crouching, at the cost of 10 mana, this would not be possible as there would be no way to stop the skill from being executed as there are no checks to see if the player has enough mana.

Priority

this suggestion should be of high priorities. It would enable so much opportunities with artifacts and mmocore/mmoitems

Implementation

it would be implemented like this from above.

  • mmomana{a>=5} true this would check if the player has at least 5 mana an above to execute the skills
  • mmostamina{a>=10} true this would check if the player has at least 10 stamina and above to execute the skills
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking