The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
armor percentages
Author Message
dabritmusic
Journeyman
*

Posts: 50
Likes Given: 8
Likes Received: 2 in 1 posts
Joined: Nov 2013
Reputation: 0



Post: #1
armor percentages
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.
03-19-2014 11:13 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: armor percentages
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]
armor_layer_2        50
armor_layer_3        5
armor_layer_4        20
armor_layer_5        40
armor_layer_6        10
armor_layer_7        10
armor_layer_10        5
armor_layer_12        20
armor_layer_13        40
armor_layer_17        40
armor_layer_19        10
armor_layer_20        20
armor_layer_22        70
armor_layer_23        20
armor_layer_24        25
but as I said, I dont remember how it really works

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
You got hit on layer: 13 (= 40%)
Your AR: 70

Armor calculation: 40% of 70 = 28%
Damage calculation: 30 - 28% = 21

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
(This post was last modified: 03-19-2014 03:07 PM by Coruja.)
03-19-2014 03:01 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: armor percentages
http://wiki.sphere.torfo.org/index.php/A...alculation

//

under 056c is it possible to determine which layer has been hit under a @gethit trigger for example?
06-14-2014 12:49 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)