![]() |
armor percentages - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: armor percentages (/Thread-armor-percentages) |
armor percentages - dabritmusic - 03-19-2014 11:13 AM im currently making custom craftable armor and weapons. i wasnt too sure on how the AR worked. basing it off, if i was gm allskills. what would the rates be? im gonna have around 10 different craftable sets with an armor value of like 100-400. getting the most if your higher skill of course. cant seem to pinpoint it tho. thanks. RE: armor percentages - Coruja - 03-19-2014 03:01 PM I cant remember exactly how the sphere calc the damage based on old T2A AR value I found this 6 years old code here, it describes the % of each layer represents from the character AR Code: [DEFNAME layers_armor_percentage] My guess: the damage hits a random layer, and this layer represents X% from your character AR value I think its goes like this: Quote:Initial damage hitting you (not resisted yet): 30 but note that this combat style is the old T2A-style from 10 years ago (too outdated). If you like this style go ahead, but you can use a newest AOS combat formula too (more complex, it uses 5 resists type instead 1), or even rewrite the whole combat formula to make your own style RE: armor percentages - kn4tseb - 06-14-2014 12:49 PM http://wiki.sphere.torfo.org/index.php/Armor_Calculation // under 056c is it possible to determine which layer has been hit under a @gethit trigger for example? |