I must have made a mistake somewhere, using your formulas.
One of my players is trained in Perception and Insight. Both numbers register as "11," despite the proper answer being "13."
Code: Select all
*Name
Class
Level
Race
Alignment
Background
Strength (Str)
Dexterity (Dex)
Constitution (Con)
Intelligence (Int)
Wisdom (Wis)
Charisma (Cha)
*ProficiencyBonus
AcrobaticsProficient: type "1" for proficient, "0" for not
AnimalHandlingProficient: type "1" for proficient, "0" for not
ArcanaProficient: type "1" for proficient, "0" for not
AthleticsProficient: type "1" for proficient, "0" for not
DeceptionProficient: type "1" for proficient, "0" for not
HistoryProficient: type "1" for proficient, "0" for not
InsightProficient: type "1" for proficient, "0" for not
IntimidationProficient: type "1" for proficient, "0" for not
InvestigationProficient: type "1" for proficient, "0" for not
MedicineProficient: type "1" for proficient, "0" for not
NatureProficient: type "1" for proficient, "0" for not
PerceptionProficient: type "1" for proficient, "0" for not
PerformanceProficient: type "1" for proficient, "0" for not
PersuasionProficient: type "1" for proficient, "0" for not
ReligionProficient: type "1" for proficient, "0" for not
SleightOfHandProficient: type "1" for proficient, "0" for not
StealthProficient: type "1" for proficient, "0" for not
SurvivalProficient: type "1" for proficient, "0" for not
*ArmorClass (Armor Class)
*Speed
HitDice (Hit Dice)
*CurrentHitPoints (HP)
*TemporaryHitPoints (Temp HP)
*MaxHitPoints (Max HP)
*Resistances
*Immunities
*Vulnerabilities
StrengthBonus: [r: floor((Strength - 10)/2)]
DexterityBonus: [r: floor((Dexterity - 10)/2)]
ConstitutionBonus: [r: floor((Constitution - 10)/2)]
IntelligenceBonus: [r: floor((Intelligence - 10)/2)]
WisdomBonus: [r: floor((Wisdom - 10)/2)]
CharismaBonus: [r: floor((Charisma - 10)/2)]
StrengthSave(Str Save): [r: StrengthBonus + ProficiencyBonus]
DexteritySave(Dex Save): [r: DexterityBonus + ProficiencyBonus]
ConstitutionSave(Con Save): [r: ConstitutionBonus + ProficiencyBonus]
IntelligenceSave(Int Save): [r: IntelligenceBonus + ProficiencyBonus]
WisdomSave(Wis Save): [r: WisdomBonus + ProficiencyBonus]
CharismaSave(Cha Save): [r: CharismaBonus + ProficiencyBonus]
//--these skills were added after the original post for help went up --//
Acrobatics: [r, if(AcrobaticsProficient): DexterityBonus; DexterityBonus + ProficiencyBonus]
AnimalHandling (Animal Handling): [r, if(AnimalHandlingProficient): WisdomBonus; WisdomBonus + ProficiencyBonus]
Arcana: [r, if(ArcanaProficient): IntelligenceBonus; IntelligenceBonus + ProficiencyBonus]
Athletics: [r, if(AthleticsProficient): StrengthBonus; StrengthBonus + ProficiencyBonus]
Deception: [r, if(DeceptionProficient): CharismaBonus; CharismaBonus + ProficiencyBonus]
History: [r, if(HistoryProficient): IntelligenceBonus; IntelligenceBonus + ProficiencyBonus]
Insight: [r, if(InsightProficient): WisdomBonus; WisdomBonus + ProficiencyBonus]
Intimidation: [r, if(IntimidationProficient): CharismaBonus; CharismaBonus + ProficiencyBonus]
Investigation: [r, if(InvestigationProficient): IntelligenceBonus; IntelligenceBonus + ProficiencyBonus]
Medicine: [r, if(MedicineProficient): WisdomBonus; WisdomBonus + ProficiencyBonus]
Nature: [r, if(NatureProficient): IntelligenceBonus; IntelligenceBonus + ProficiencyBonus]
Perception: [r, if(PerceptionProficient): WisdomBonus; WisdomBonus + ProficiencyBonus]
Performance: [r, if(PerformanceProficient): CharismaBonus; CharismaBonus + ProficiencyBonus]
Persuasion: [r, if(PersuasionProficient): CharismaBonus; CharismaBonus + ProficiencyBonus]
Religion: [r, if(ReligionProficient): IntelligenceBonus; IntelligenceBonus + ProficiencyBonus]
SleightOfHand: [r, if(SleightOfHandProficient): DexterityBonus; DexterityBonus + ProficiencyBonus]
Stealth: [r, if (StealthProficient): DexterityBonus; DexterityBonus + ProficiencyBonus]
Survival: [r, if(SurvivalProficient): WisdomBonus; WisdomBonus + ProficiencyBonus][/color]
//-- end of code edits from original post --//
*Initiative: [r: DexterityBonus]
*PassiveInsight(Passive Ins): [r, if(InsightProficient): WisdomBonus + 10; WisdomBonus + ProficiencyBonus + 10]
*PassivePerception(Passive Per): [r, if(PerceptionProficient): WisdomBonus + 10; WisdomBonus + ProficiencyBonus + 10]
And he has input "1" for "InsightProficient" and "PerceptionProficicent."
(I know MT removes line breaks, but I leave them in the text file so it's easier for me to see and find things.)
EDIT: The eventual goal is to have macros that say something like "/roll 1d20 + StrengthSave" or "/roll 1d20 + Acrobatics" and just have it output the roll, because it checks and adds all the modifiers in beforehand. Won't be able to get those working, until I get the math for passives working first, though.
What did I fail to understand or follow through on?