View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002132SphereServerexecutable - genericpublic03-02-13 15:5016-10-13 02:44
Reporterbabidi 
Assigned ToRanXerox 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version20-09-2009, 0.56b Prerelease 
Target VersionFixed in Version 
Summary0002132: maxSTAT working bad with sphells and potions
Descriptionif you set maxmana+2 bonus for a weapon on equip and then bless you the mana will be stuck on the bonus without bless effect, also if you then unequip the item with maxmana-2 the stat will be stucked on that value not raising or decrease with spell like curse or bless

i think best way to resolve this is improving modmaxSTAT

of course making bless and curse have effect on maxSTAT also can be a way but you left a hole on ho like to mantain fixed stats
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0001516)
RanXerox (developer)
22-03-13 22:01

We need more details on how to reproduce this problem... on my server this seems to work fine by using the following event on the equipable item, then setting the appropriate TAG on that item:

[EVENTS e_equipitem]
ON=@Equip
   IF (<TAG0.HITS>)//hitpoint increase
      SRC.MODMAXHITS <TAG0.HITS>
   ENDIF
   IF (<TAG0.STAMINA>)//stamina increase
      SRC.MODMAXSTAM <TAG0.STAMINA>
   ENDIF
   IF (<TAG0.MANA>)//mana increase
      SRC.MODMAXMANA <TAG0.MANA>
   ENDIF
ON=@UnEquip
   IF (<TAG0.HITS>)//hitpoint increase
      SRC.MODMAXHITS -<TAG0.HITS>
   ENDIF
   IF (<TAG0.STAMINA>)//stamina increase
      SRC.MODMAXSTAM -<TAG0.STAMINA>
   ENDIF
   IF (<TAG0.MANA>)//mana increase
      SRC.MODMAXMANA -<TAG0.MANA>
   ENDIF

[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
(0001517)
RanXerox (developer)
22-03-13 22:01

Need steps to reproduce...
(0001732)
RanXerox (developer)
16-10-13 02:44

Closing since no new information seems to be forthcoming...

- Issue History
Date Modified Username Field Change
03-02-13 15:50 babidi New Issue
22-03-13 22:01 RanXerox Note Added: 0001516
22-03-13 22:01 RanXerox Note Added: 0001517
22-03-13 22:01 RanXerox Assigned To => RanXerox
22-03-13 22:01 RanXerox Status new => feedback
16-10-13 02:44 RanXerox Note Added: 0001732
16-10-13 02:44 RanXerox Status feedback => closed
16-10-13 02:44 RanXerox Resolution open => fixed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker