SphereCommunity
modmaxmana modmaxstram ecc - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: modmaxmana modmaxstram ecc (/Thread-modmaxmana-modmaxstram-ecc)



modmaxmana modmaxstram ecc - Rizz - 02-14-2013 08:14 PM

Are there modifications for maxhits/maxmana/maxstam?
Bcuz if you set the ability to increase maxmana to a plate (for example) and you bless yourself then your mana point will not raise with the intelligence (bcuz we set a maximun).


RE: modmaxmana modmaxstram ecc - darksun84 - 02-14-2013 11:41 PM

there isn't


RE: modmaxmana modmaxstram ecc - Mordaunt - 02-15-2013 12:25 AM

The only thing I could suggest is set the hard cap higher and moderate it via a script so that it will only go over if conditions are met.


RE: modmaxmana modmaxstram ecc - RanXerox - 02-15-2013 05:03 AM

Code:
[FUNCTION MODMAXHITS]
LOCAL.Results=<EVAL <ARGS>>
IF (<ISEMPTY <ARGS>>)
   RETURN <EVAL <TAG0.MODMAXHITS>>
ELSE
   TAG.MODMAXHITS=<EVAL <TAG0.MODMAXHITS>+<LOCAL.Results>>
   IF !(<TAG0.MODMAXHITS>)
      TAG.MODMAXHITS=
      MAXHITS=
   ELSE
      MAXHITS=<EVAL <MAXHITS>+<LOCAL.Results>>
   ENDIF
ENDIF

[FUNCTION MODMAXSTAM]
LOCAL.Results=<EVAL <ARGS>>
IF (<ISEMPTY <ARGS>>)
   RETURN <EVAL <TAG0.MODMAXSTAM>>
ELSE
   TAG.MODMAXSTAM=<EVAL <TAG0.MODMAXSTAM>+<LOCAL.Results>>
   IF !(<TAG0.MODMAXSTAM>)
      TAG.MODMAXSTAM=
      MAXSTAM=
   ELSE
      MAXSTAM=<EVAL <MAXSTAM>+<LOCAL.Results>>
   ENDIF
ENDIF

[FUNCTION MODMAXMANA]
LOCAL.Results=<EVAL <ARGS>>
IF (<ISEMPTY <ARGS>>)
   RETURN <EVAL <TAG0.MODMAXMANA>>
ELSE
   TAG.MODMAXMANA=<EVAL <TAG0.MODMAXMANA>+<LOCAL.Results>>
   IF !(<TAG0.MODMAXMANA>)
      TAG.MODMAXMANA=
      MAXMANA=
   ELSE
      MAXMANA=<EVAL <MAXMANA>+<LOCAL.Results>>
   ENDIF
ENDIF



RE: modmaxmana modmaxstram ecc - Rizz - 02-15-2013 11:50 AM

The problem is the same: if i use RaX script and bless too the maxparameters can't increase by yourself.