PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
armor ar issues

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097
Display posts from previous:   

Author Message
phao



Joined: 31 Aug 2007
Posts: 33

PostPosted: Mon Sep 10, 2007 5:04 pm    Post subject: armor ar issues Reply with quote

i've setted the AR for my armors (in itemdesc.cfg) but when i wear them, the AR (seems) isnt correclty beeing added, i have some with ar = 18, some with ar = 12, some with ar =6, and when i wear them, the ar that appears in the statwindow is 18. i've noticed that his have to do with armorzone, how can i do it in someway that each armor i wear, it just add to the total ar, suposing i have 2 armorr with ar 10 and 3 with ar 5, so the total ar would be 35

how can i do that? like ignoring the armor zones to calc the total AR, so it'll be the sum of the all ar of the things i'm wearing (that has ar).

??

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1081
Location: Southern Central USA

PostPosted: Mon Sep 10, 2007 10:57 pm    Post subject: Reply with quote

As I recall from my discussions/replies from Austin what you want to do isn't implemented or possible but with packethooks it might be. So I leave that for people wiser than I to tackle.

The way AR is handled by the server is based on percentage of coverage for each armour zone. For example if you are wearing armour that has each piece rated at 50 AR but you are only wearing enough of the armour to get a 50% coverage your total AR will be 50% of 50 or 25 AR.

I am sorry but I couldn't find the coverage percent values associated with each armour zone but I suspect they are probably similar to the "to hit" chance in armrzone.cfg in \pol\config

Author Message
phao



Joined: 31 Aug 2007
Posts: 33

PostPosted: Tue Sep 11, 2007 10:16 am    Post subject: Reply with quote

it is EXACLY what you've saind, thank you very much, it worked

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1081
Location: Southern Central USA

PostPosted: Tue Sep 11, 2007 3:23 pm    Post subject: Reply with quote

*smiles*
You are welcome.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty