SphereCommunity
[BUG]Status INT - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: [BUG]Status INT (/Thread-BUG-Status-INT)



[BUG]Status INT - DeatH CoiL - 05-09-2014 12:58 AM

Guys, Good Afternoon

My sphere this a bug I can not figure out why. Whenever I equip any item + status by attacking any NPC or player to inteligennce decreases each hit. Anyone have any idea where can be the error? Already checked the general events of the script items + status are normal, even worked on another server.


Script of item:

Code:
[ITEMDEF i_str_vermelho]
DEFNAME=i_str_vermelho
NAME= Str Robe
ID =i_robe
ARMOR=7

ON=@create
    ATTR = attr_newbie
    color = 026
    HITPOINTS={21 23}

ON=@EQUIP
    SRC.STR=<SRC.STR>+10
ON=@UNEQUIP
    SRC.STR=<SRC.STR>-10


Thank you.


RE: [BUG]Status INT - Feeh - 05-09-2014 02:06 AM

This is happening because you have status cap, when you add 10 to the player STR, you're adding it to the main str value, so Sphere think the player is stronger, not with a modded STR
The cap check will find the first eligible status to decrease when the player train other status (PvP train STR)

Code:
ON=@EQUIP
    SRC.MODSTR += 10
ON=@UNEQUIP
    SRC.MODSTR -= 10



RE: [BUG]Status INT - DeatH CoiL - 05-09-2014 02:29 AM

Friend, thank you.

This problem.There your tip solved my long time I was looking for a solution for this.

Taking advantage, as with the item ID Hooded Shroud? The Death Shroud common cover plates used in the char.

Thank you again.


RE: [BUG]Status INT - Feeh - 05-09-2014 02:33 AM

The hooded shroud ID is: 0x2683 or 0x2684.
You can use UOFiddler to find those values Smile