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
A question of Default Armor system and others ^_^
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #1
A question of Default Armor system and others ^_^
Hi, first, sry for my fu***** english. P:

I had some questions?
1- How works the default armor system of Sphere? [with nightlys, not community sys]
2- How works Protection?
3- How works Reactive armor?

1 I'd seen that the default armor system works with any part, if you have a helmet, you will defend that part only, the head. The Armor it's equal to all parts and then you defend every single part. I'm right?

2- And seen that Protection Adds you ARMOR, how it works? the total armor value influences in the dmg!?!?!? I didn't see that o.o

3 The reactive armor, how % [estimated] returns on damage to the other player?



thanks for read and answer ^_^ spherecommunity are a great information zone to newbies like me.

again, sry for my english Ranting Blush

[Image: 2hy9q0y.png]
07-13-2012 05:11 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: A question of Default Armor system and others ^_^
The default system should works in this way :

When you hit, a random body part is selected

Sphere will check the AR value of the body part(0 if no armor)

The damage is calculated in this way :
If AR > 0
Random(Damage - AR of the body part +1 , Damage),

If AR == 0 just apply the damage.


If the random give a result less or equal than 0 , no damage is applied.

So if we hit another player in the head for 15 damage and he has a plate helmet with 33 AR, the new damage will be between : -17 and 15

This mean a 46%(15/32) to do at least from 1 to 15 damage and 54%(17/32) to do 0 damage!

Remember that even if you see that a piece of armor just add a portion of its total AR when it's weared, for damage calculation it use its total AR.
(This post was last modified: 07-13-2012 08:37 PM by darksun84.)
07-13-2012 08:26 PM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #3
RE: A question of Default Armor system and others ^_^
2. In addition to the piece by piece armor system things can affect the base armor. When you cast Protection its like having an extra suit of armor covering the whole body at the Protection AR. Natural armor on monster bodies works the same way.

Also some spells and effects target the whole body, damage done with a particular flag. These use the averaged value you see in the stat window.
(This post was last modified: 07-14-2012 05:23 AM by Anarch Cassius.)
07-14-2012 05:23 AM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #4
RE: A question of Default Armor system and others ^_^
(07-13-2012 08:26 PM)darksun84 Wrote:  The default system should works in this way :

When you hit, a random body part is selected

Sphere will check the AR value of the body part(0 if no armor)

The damage is calculated in this way :
If AR > 0
Random(Damage - AR of the body part +1 , Damage),

If AR == 0 just apply the damage.


If the random give a result less or equal than 0 , no damage is applied.

So if we hit another player in the head for 15 damage and he has a plate helmet with 33 AR, the new damage will be between : -17 and 15

This mean a 46%(15/32) to do at least from 1 to 15 damage and 54%(17/32) to do 0 damage!

Remember that even if you see that a piece of armor just add a portion of its total AR when it's weared, for damage calculation it use its total AR.


That happends every time?
Because I have a longsword +0 and in some attacks the swords hits like 24 or 25 to a armor with 90 or 100 AR...

¿That's right? ¿Why is that?

[Image: 2hy9q0y.png]
08-10-2012 02:41 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #5
RE: A question of Default Armor system and others ^_^
Random(Damage - AR of the body part +1 , Damage)

Consider this line. It means a random number between the damage minus the armor +1 and the full damage.

This means that the sword can always inflict full damage, it just becomes less likely to as the armor increases. If the attack is 10 and the armor is 5 then it could be 5,6,7,8,9 or 10. If the armor is 0 it could 11 or 10. If the armor is 10 it could be 1,2,3,4,5,6,7,8,9 or 10. If the armor is 20 it can be -9,-8,-7,...8,9, or 10.

The chance of getting any number is the same as getting any other number and anything less than 0 is converted to 0. So my chance of doing full damage is 20% against armor 5, 10% against armor 10 and 5% against armor 20.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
08-10-2012 06:56 AM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #6
RE: A question of Default Armor system and others ^_^
(08-10-2012 06:56 AM)Anarch Cassius Wrote:  Random(Damage - AR of the body part +1 , Damage)

Consider this line. It means a random number between the damage minus the armor +1 and the full damage.

This means that the sword can always inflict full damage, it just becomes less likely to as the armor increases. If the attack is 10 and the armor is 5 then it could be 5,6,7,8,9 or 10. If the armor is 0 it could 11 or 10. If the armor is 10 it could be 1,2,3,4,5,6,7,8,9 or 10. If the armor is 20 it can be -9,-8,-7,...8,9, or 10.

The chance of getting any number is the same as getting any other number and anything less than 0 is converted to 0. So my chance of doing full damage is 20% against armor 5, 10% against armor 10 and 5% against armor 20.


THANKS! Smile I'll balance the weapons now with that knowing

^_^* ty.

[Image: 2hy9q0y.png]
08-10-2012 07:07 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #7
RE: A question of Default Armor system and others ^_^
Hi! I had trying to do a new system of reactive and I need the real formula of ARGN1 in Sphere.

Based in the comment of Anarch Cassius I had do this:

a random on damage - ar and pure damage...


This is the same of Sphere?
In my test works FINE, rly... The damage it's like sphere Shock
Thanks!

[Image: 2hy9q0y.png]
(This post was last modified: 10-31-2012 11:38 AM by Lazarus.)
10-31-2012 02:44 AM
Visit this user's website 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)