Ind - Feb 2, 2013 23:48
[quote]
[21:43:39] <jTynne> bonus bMdefRate does not honor negative amounts. /resumes coding items
[21:44:11] <jTynne> and and and bonus bMdef,readparam(bMDef)*-1; does nothing either
[21:44:26] <jTynne> these are in rA, which presumably are also in Hercules as well xD[/quote]
malufett - Feb 3, 2013 12:52
[quote]
bonus bMdefRate does not honor negative amounts. /resumes coding items[/quote]
it accepts negative values..however it was capped before used..
[code=auto:0]
// Apply relative modifiers from equipment
if(sd->mdef_rate < 0)
sd->mdef_rate = 0;
[/code]
[quote]
and and and bonus bMdef,readparam(bMDef)*-1; does nothing either[/quote]
of course it will not work because readparam won't read/support 'bMDef'
and its working fine it accepts negative value..
:meow: