Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[BUG]Status INT
Author Message
DeatH CoiL
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2014
Reputation: 0



Post: #1
[BUG]Status INT
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.
05-09-2014 12:58 AM
Find all posts by this user Like Post Quote this message in a reply
Feeh
Sphere Developer
*****

Posts: 156
Likes Given: 6
Likes Received: 40 in 29 posts
Joined: Sep 2012
Reputation: 4



Post: #2
RE: [BUG]Status INT
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

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
05-09-2014 02:06 AM
Find all posts by this user Like Post Quote this message in a reply
DeatH CoiL
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: [BUG]Status INT
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.
05-09-2014 02:29 AM
Find all posts by this user Like Post Quote this message in a reply
Feeh
Sphere Developer
*****

Posts: 156
Likes Given: 6
Likes Received: 40 in 29 posts
Joined: Sep 2012
Reputation: 4



Post: #4
RE: [BUG]Status INT
The hooded shroud ID is: 0x2683 or 0x2684.
You can use UOFiddler to find those values Smile

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
05-09-2014 02:33 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)