Skip to content

Conversation

@Emistry
Copy link
Member

@Emistry Emistry commented May 14, 2019

Pull Request Prelude

Changes Proposed

  • add cap_value(value, min, max) script command.
  • its kinda useful in the src if you noticed, so I am sure it could come in handy to add for NPC script usage.

Issues addressed:

  • avoid the ugly nested min() and max() combo if needed.

- add `cap_value(value, min, max)` script command.
- avoid the ugly nested `min()` and `max()` combo if needed.
@HerculesWSAPI
Copy link
Contributor

This change is Reviewable

@Emistry Emistry added component:core:scriptengine Affecting the script engine or the script commands component:documentation Affecting the documentation in the doc/ folder labels May 14, 2019
@MishimaHaruna MishimaHaruna added this to the Release v2019.06.02 milestone Jun 1, 2019
@MishimaHaruna MishimaHaruna merged commit 259a790 into HerculesWS:master Jun 1, 2019
@Emistry Emistry deleted the scriptcommand_cap_value branch June 1, 2019 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:core:scriptengine Affecting the script engine or the script commands component:documentation Affecting the documentation in the doc/ folder

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants