ccbrown / xiv-sim

Simulator for Final Fantasy 14.
MIT License
13 stars 11 forks source link

Add PercentMP() to Actor. #55

Closed jingai closed 9 years ago

jingai commented 9 years ago

Seems like it might be useful, especially for a job like BLM. Instead of hard-coding MP values to check on, this would be more flexible as things scale (e.g., with the coming expansion).

Returns 0-100 as an integer.

ccbrown commented 9 years ago

Went ahead and added a maximum mp function: 32b8b7eb933459c40d3e43d0aa05df52b6fae6f7

Might be a little more useful since it allows scripts to get both the maximum and a higher resolution percentage.

jingai commented 9 years ago

Yup, that'd work just fine.