Page 1 of 2

Clear Mind

Posted: Sun Sep 02, 2012 12:44 pm
by Lithorn
So basically Clear mind needs to be enabled but its rank needs editing, as Rank 3 and 4 have 2HMP per tic instead of 1, and Rank 5 has 3
So R1 15 HMP (1HMP) R2 18HMP (1HMP) R3 21HMP (2HMP) R4 24 HMP (2HMP) R5 27 HMP (3HMP) In that order

As it was, Clear mind worked, but the tic was wrong, when it did work all HMP gear didnt, now CM dosent work, all HMP gear is working

http://ffxi.allakhazam.com/wiki/Black_Mage_%28FFXI%29 FOR REFERENCE

Now, Clear Mind Trait does not stack with sub, so if I have CMIII from BLM and CM1 from WHM, I have CM3
If I have an item that "Enhances" Clear mind, that stacks but only up to the MAX rank of 5 if I have the gear to do so.

Re: Clear Mind

Posted: Tue Sep 11, 2012 2:58 am
by Zedingo
I don't know if it was ever committed but I and others asked whasf to enable Clear Mind on his server in the easiest way possible. In the traits table, each tier of CM adds MOD_MPHEAL, 3.

Base: 12 hMP
CM1: 15 hMP (difference of 3)
CM2: 18 hMP (difference of 3)
etc...

That SHOULD work fine since the server shouldn't be applying the same tier trait twice. Though come to think of it, it is a bit much. It was meant mostly as a simple fix to get Clear Mind working so people would play mage jobs more.

Re: Clear Mind

Posted: Tue Sep 11, 2012 3:18 am
by diatanato

Re: Clear Mind

Posted: Tue Sep 11, 2012 6:44 am
by Zedingo
dia, that's not what I meant.

So I made a patch which gets Clear Mind working in a somewhat broken state. By broken I mean that it's too powerful. BLM74 has Clear Mind 4, RDM37 has Clear Mind 1. Because I don't know how to make these traits stop stacking, a BLM74/RDM37 has Clear Mind 5 with this patch.

I've already tested it, and if not for the stacking problem, it's retail standard now. Including the +3mp per tick gain with CM5.

Re: Clear Mind

Posted: Tue Sep 11, 2012 7:07 am
by whasf
Patched in r1718

Re: Clear Mind

Posted: Tue Sep 11, 2012 7:08 am
by diatanato
not good idea with healing.lua

Re: Clear Mind

Posted: Tue Sep 11, 2012 4:48 pm
by Zedingo
Okay, I finally got some sleep and realized how to do tier detection with the current table design. With this healing.lua you will only receive the effects of the highest tier of Clear Mind that you have.

Clear Mind + hHP fix

Posted: Fri Sep 14, 2012 12:48 am
by Anged_Obscurite
I looked into the hHP issue (especially with Signet) that wasn't healing correctly.

Re: Clear Mind + hHP fix

Posted: Fri Sep 14, 2012 12:57 am
by diatanato
Anged_Obscurite wrote:I looked into the hHP issue (especially with Signet) that wasn't healing correctly.
must be

Code: Select all

target:addHP(10+(3*math.floor(target:getMainLvl()/10))+(healtime-2+(1+math.floor(target:getMaxHP()/300)))+(target:getMod(MOD_HPHEAL)));

Re: Clear Mind + hHP fix

Posted: Fri Sep 14, 2012 2:37 am
by Anged_Obscurite
diatanato wrote:
Anged_Obscurite wrote:I looked into the hHP issue (especially with Signet) that wasn't healing correctly.
must be

Code: Select all

target:addHP(10+(3*math.floor(target:getMainLvl()/10))+(healtime-2+(1+math.floor(target:getMaxHP()/300)))+(target:getMod(MOD_HPHEAL)));
Yes, except the fact that the (1+math.floor(target:getMaxHP()/300)) part needs to be multiplied by (healtime-2). At 300~599 MaxHP, hHP increments are 2 (1+floor[(300~599)/300]), and right now this formula does not consider it. It needs to be

Code: Select all

target:addHP(10+(3*math.floor(target:getMainLvl()/10))+(healtime-2)*(1+math.floor(target:getMaxHP()/300)))+(target:getMod(MOD_HPHEAL)));