SphereCommunity
durability of items - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Expired/Outdated Versions (/Forum-Expired-Outdated-Versions)
+--- Forum: Sphere 55i Help (/Forum-Sphere-55i-Help)
+--- Thread: durability of items (/Thread-durability-of-items)



durability of items - jexnico - 03-29-2014 11:36 PM

I need a script that I can see dirabilidade of my items, and I wanted my items degrade when they are being used

example:

I have a sword with 58/58 durability, I hit a skull with this sword and my sword has lost 3 of durability and was 55/58 for durability.

wanted when durability come to 0 the item was broken, that same script also wanted a system that would notice the items

example
I have a sword that with 11/58 durability to be able to fix it I need 5 iron bars and a hammer.

thxxx Big Grin


RE: durability of items - UltimaAku - 04-01-2014 08:01 PM

Easy way: in spehe.ini if you set FeatureAOS = 01|02 It states the durability of the weapon by highlighting it. providing the resource is the iron bars, it should already be able to repair the equipment with an anvil.

But if that's not what your after, what does it mean to have the equipment broken on your server? would it be removed? and do you want it to just show the durability or require arms lore to show it?


RE: durability of items - victorstelzer - 04-02-2014 10:27 PM

would post this as part of my sphere.ini not have this option


RE: durability of items - Abuelox - 04-17-2014 10:52 PM

What sphere version have u?


RE: durability of items - jexnico - 04-20-2014 05:24 AM

0.55i


RE: durability of items - XuN - 04-20-2014 05:59 PM

Moved to 55i Forum.


RE: durability of items - jexnico - 04-30-2014 08:00 AM

my version is 56b, 56b upgraded it to, someone could help, I need a script when I use the arms lore skill on an item appeared in the corner of the screen as follows.

Durability: xx / xx

where XX would be the value of durability, example:

195/200


RE: durability of items - XuN - 04-30-2014 05:22 PM

Go to the Arms Lore skill in sphere_skills.scp and do this under @Success:

SysMessage=Hitpoints : <act.hitpoints> / <act.maxhits>