3.5 Character Sheet Generation Code

Generation code for Template:3.5 Character and Form:3.5 Character

Raw Text
CharacterName Player ClassLevel Race Alignment Deity Size Age Gender Height Weight Eyes Hair Skin Campaign Experience => 0 SizeMod => 0 STR => 10 DEX => 10 CON => 10 INT => 10 WIS => 10 CHA => 10 STRMod = Floor( (STR - 10) / 2 ) DEXMod = Floor( (DEX - 10) / 2 ) CONMod = Floor( (CON - 10) / 2 ) INTMod = Floor( (INT - 10) / 2 ) WISMod = Floor( (WIS - 10) / 2 ) CHAMod = Floor( (CHA - 10) / 2 ) TempSTR => STR TempDEX => DEX TempCON => CON TempINT => INT TempWIS => WIS TempCHA => CHA TempSTRMod = Floor( (TempSTR - 10) / 2 ) TempDEXMod = Floor( (TempDEX - 10) / 2 ) TempCONMod = Floor( (TempCON - 10) / 2 ) TempINTMod = Floor( (TempINT - 10) / 2 ) TempWISMod = Floor( (TempWIS - 10) / 2 ) TempCHAMod = Floor( (TempCHA - 10) / 2 ) HPMax Speed ACArmor => 0 ACSheild => 0 ACSize = SizeMod ACNatural => 0 ACDeflection => 0 ACLuck => 0 ACInsight => 0 ACMisic => 0 ACDEXMax => DEXMod ACINTMax => (HasINTAC) ? INTMod : 0 ACWISMax => (HasWISAC) ? WISMod : 0 ACCHAMax => (HasCHAAC) ? CHAMod : 0 HasWISAC => No HasINTAC => No HasCHAAC => No AC = ACArmor + ACSheild + ACSize + ACNatural + ACDeflection + ACLuck + ACInsight + ACMisic + ((DEXMod > ACDEXMax) ? ACDEXMax : DEXMod) + ((WISMod > ACWISMax) ? ACWISMax : WISMod) + ((INTMod > ACINTMax) ? ACINTMax : INTMod) + ((CHAMod > ACCHAMax) ? ACCHAMax : CHAMod) ACTouch = ACSize + ACDeflection + ACLuck + ACInsight + ACMisic + ((DEXMod > ACDEXMax) ? ACDEXMax : DEXMod) + ((WISMod > ACWISMax) ? ACWISMax : WISMod) + ((INTMod > ACINTMax) ? ACINTMax : INTMod) + ((CHAMod > ACCHAMax) ? ACCHAMax : CHAMod) ACFlatFooted = ACArmor + ACSheild + ACSize + ACNatural + ACDeflection + ACLuck + ACInsight + ACMisic + ((WISMod > ACWISMax) ? ACWISMax : WISMod) + ((CHAMod > ACCHAMax) ? ACCHAMax : CHAMod) DamageReduction InitiativeMisic => 0 Initiative = DEXMod + InitiativeMisic FortitudeSaveBase => 0 ReflexSaveBase => 0 WillSaveBase => 0 FortitudeSaveMagic => 0 ReflexSaveMagic => 0 WillSaveMagic => 0 FortitudeSaveMisic => 0 ReflexSaveMisic => 0 WillSaveMisic => 0 FortitudeSaveTemp => 0 ReflexSaveTemp => 0 WillSaveTemp => 0 FortitudeSave = CONMod + FortitudeSaveBase + FortitudeSaveMagic + FortitudeSaveMisic + FortitudeSaveTemp ReflexSave = DEXMod + ReflexSaveBase + ReflexSaveMagic + ReflexSaveMisic + ReflexSaveTemp WillSave = WISMod + WillSaveBase + WillSaveMagic + WillSaveMisic + WillSaveTemp BaseAttackBonus => 0 SpellResistance GrappleMisic => 0 Grapple = BaseAttackBonus + STRMod + SizeMod + GrappleMisic