SphereCommunity
Weapon and Armor durability. - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Weapon and Armor durability. (/Thread-Weapon-and-Armor-durability)



Weapon and Armor durability. - darksun84 - 09-07-2017 03:13 AM

You can increase/decrease the chance of your weapon/armor being hit( when "hit" an item lose hitpoints) by using the follow triggers and locals inside one of your event:

Code:
ON=@Hit
//For weapons.
LOCAL.ItemDamageChance = 0

ON=@GetHit
//For Armors
LOCAL.ItemDamageChance = 0



RE: Weapon and Armor durability. - WRWR - 04-26-2018 09:15 AM

chance in % 0 to 100?


RE: Weapon and Armor durability. - darksun84 - 01-29-2019 06:26 AM

yes


RE: Weapon and Armor durability. - Seokotov - 01-29-2019 11:24 AM

so fast answer.just forget why i need it ))))