#2252 "items has been damaged" - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: #2252 "items has been damaged" (/Thread-2252-items-has-been-damaged) |
#2252 "items has been damaged" - Rizz - 04-25-2015 08:47 AM I am coming from #2056 and now seems that every item will be damaged on usage. EF_DamageTools is not enabled. How should i do to remove this feature? Is very annoying and it destroys item in 1 minute. Seems the solution is add a generic event to all the items and set @damage return 1 but why... And if i do... @destroy will trigger or not? I have some items that need to get damages but as i want, damaging system can be softcoded and added easy but remove and hardcoded one is boring. Are there other solutions or maybe i just missed some features on the .ini? // Events related to all items EventsItem=e_items_all Is not working.. maybe is a bug RE: #2252 "items has been damaged" - Coruja - 04-25-2015 10:26 AM every item on combat have a chance to get damaged on hit / gethit attacker weapon will always get damaged on @Hit (100% chance) and the defender has 40% chance to get a random layer damaged to override this value you must set LOCAL.ItemDamageChance on @Hit / @GetHit Code: 20-03-2015, Coruja RE: #2252 "items has been damaged" - XuN - 04-25-2015 06:44 PM This was a problem of a ItemDamageChance set to 100 for some reason, I changed it back to 40 few revisions ago but, if I remember correctly, did not add the change to the revisions.txt nor svn log, updating build would fix it. BTW EF_DamageTools is related to resource's tools like pickaxe, fishing pole, etc when used to gathering and so, it is NOT related to fighting so wether setting you have in the ini will NOT affect the item's being damaged as weapons. @Damage trigger will also stop both damaging behaviours from taking place, same as @Destroy. RE: #2252 "items has been damaged" - Rizz - 04-25-2015 07:11 PM Thx to all |