Weird issue, armor on items going high - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Weird issue, armor on items going high (/Thread-Weird-issue-armor-on-items-going-high) |
Weird issue, armor on items going high - Extreme - 09-10-2014 01:11 PM Hello guys! Does anyone experiencing this weird problem? Sometimes the armor on items goes very high, like 25431 without any change... It happened with clothing and armor items... As you can see, this is very weird and I didn't find anything that can be doing this. RE: Weird issue, armor on items going high - darksun84 - 09-10-2014 08:35 PM It's caused because in the new script pack the armor value is not assigned in the itemdef (they are all commented). So when the armor/shield is created, it gets a super high armor value by default. Also this is not always noticeable because now all items have the t_equipitem typedef and most of armor items have the tag.resphysical in the @create trigger and inside this this typedef the armor is applied to character by modar (taking the resphysical tag in consideration). So if you remove the t_equipitem typedef you'll see that every armor/shield gives you super high result. RE: Weird issue, armor on items going high - Extreme - 09-10-2014 11:27 PM +2 drk -99999 for to who changed this RE: Weird issue, armor on items going high - matex - 09-12-2014 04:03 AM I changed that when the Baseid of an item is changed the armor is copied from the Itemdef because before that the armor did not change with the ID. But i dont think this could possibly cause this..? RE: Weird issue, armor on items going high - darksun84 - 09-12-2014 07:27 AM The problem was already present before your change sisi |