- SkillEditor - Player has NOT Buff doesn't appear to be working reliably. Protect (Skill ID 123 and BuffInfo ID 146) will repeatedly get cast even if 146 is specified. Likewise, Cleric Stance (Skill ID 122 and BuffInfo ID 145) has the same problem.
The code diff below attempts to work around Player.mp.percent calculation problem in current beta version as well as pause when grinding if low on MP (<90%).
(10-05-2013, 01:00 PM)satbuster Wrote: 2. Out of Mana - Not sure how to stop bot from attacking new targets when my Conjurer is low on Mana/MP. He keeps engaging and I quickly run out - and die.
The code diff below attempts to work around Player.mp.percent calculation problem in current beta version as well as pause when grinding if low on MP (<90%).
Code:
/cygdrive/d/Games/SquareEnix/MMOMinion/LuaMods/ffxivminion $ diff ffxiv_common_cne.lua ../../../test/LuaMods/ffxivminion/ffxiv_common_cne.lua
321,324c321
< local PlayerMPPercent = math.floor((Player.mp.current / Player.mp.max) * 100)
< ml_debug("c_rest(DEBUG): HP="..tostring(Player.hp.percent).."% MP="..tostring(Player.mp.percent).."|"..tostring(PlayerMPPercent).."%")
<
< if (e_rest.resting or (not Player.hasaggro and ((Player.hp.percent < 60) or (PlayerMPPercent < 90)))) then
---
> if (e_rest.resting or (not Player.hasaggro and Player.hp.percent < 60)) then