View Single Post
  #4 (permalink)  
Old May 17th, 2008
peterb peterb is offline
Senior Member
 
Join Date: Jan 2008
Location: Lidingö, Sweden
Posts: 110
Default

Quote:
Originally Posted by frogspawner View Post
Does your method distinguish AC factors that are due to DEX-type bonuses? They should add to parry and/or dodge skills somehow.
The d20 SRD has been translated into XML and from there into various DB formats, that's my source. The armour class record for an Aboleth, for example, looks like this:

Code:
16 (-2 size, +1 Dex, +7 natural), touch 9, flat-footed 15
This function parses that string and returns the natural AC bonus, which I use as natural AP.
Code:
Public Function parseAC(armourString As String) As Integer
    Dim armour As Variant
    Dim tempStr As Variant
    Dim natural As Variant
    Dim cleanedStr As Variant
    Dim apValue As Variant
    
    armour = Split(armourString, ",")
    apValue = 0
    
    For Each tempStr In armour
        If InStr(LCase(tempStr), "natural") > 0 Then
            cleanedStr = Trim(tempStr)
            natural = Split(cleanedStr, " ")
            apValue = natural(0)
            apValue = CInt(Right(apValue, Len(apValue) - InStr(apValue, "+")))
        End If
    Next
    
    parseAC = apValue
    
End Function
So, no I don't use the DEX bonuses in my calculation.

Quote:
Originally Posted by frogspawner View Post
Once you know their CON, how about using their HPs to calculate SIZ?
But HP in DnD does not reflect CON + SIZ, at least I have not been able to any such relationship. In 3E all creatures are sorted into a set of Size categories. I base my calculation on that plus the STR value of the creature. SIZ and STR are often somewhat related in BRP.

Last edited by peterb; May 17th, 2008 at 12:11.
Reply With Quote