91.08 Pathfinder + D&D3.5 Framework

Discussion concerning lmarkus' campaign framework for D&D3.x and Pathfinder.

Moderators: dorpond, trevor, Azhrei, giliath, Gamerdude, jay, Mr.Ice, lmarkus001

Forum rules
Discussion regarding lmarkus001's framework only. Other posts deleted without notice! :)
User avatar
aliasmask
Deity
Posts: 8711
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: 91.08 Pathfinder + D&D3.5 Framework

Post by aliasmask »

I uploaded a fix for the Campaign and the Lib token. It can be found in this shared drive. The error was caused after the weapon was edited and it was the callback to refresh the frame that caused the error. So, it works as is, you just need to click the Weapons tab again to refresh.

The save was done in MT 1.8.3 but should work the same for previous versions.

https://drive.google.com/drive/folders/ ... sp=sharing

User avatar
lmarkus001
Great Wyrm
Posts: 1867
Joined: Sat Mar 29, 2008 12:30 am
Location: Layfayette Hill, PA

Re: 91.08 Pathfinder + D&D3.5 Framework

Post by lmarkus001 »

Of note, these changes need to be applied in several macros:
charSkillCheck
CharSheetSkills
tblCSskills
buildSkillsDialog
aliasmask wrote:
Fri Aug 07, 2020 2:49 pm
Fixed a longtime "bug" which is more like error checking for bad data in the skills. Now if you leave a skill mod blank it will put a 0 there. This prevents funky output on skill checks.

This change is made in charSkillCheck

Code: Select all

[H: sizeList = table("SysVars", json.get(table("SysVars", 0), "sizeList"))]
[H: sizeID =  listFind(sizeList, getSize())]
[H: skSize =  json.get(json.get(tSkill, "sizemod"), sizeID)]
[H: skN = json.get(tSkill, "name")]

[H: skR = number(0 + json.get(tSkill, "rank"))]
[H: skRM = number(0 + json.get(tSkill, "racialmod"))]
[H: skFeat = number(0 + json.get(tSkill, "feats"))]
[H: skSyn = number(0 + json.get(tSkill, "synergy"))]
[H: skEq = number(0 + json.get(tSkill, "equip"))]
[H: skMisc = number(0 + json.get(tSkill, "misc"))]
[H, IF(json.contains(tSkill, "speedmod")): skSpd =  number(0 + json.get(tSkill, "speedmod")); skSpd = 0]

[H: skDesc = json.get(tSkill, "desc")]
I moved skSize lines up from bottom so they are grouped with other skill mods. Doing the number(0 + var) trick saves me from having to check for blanks.

All these updates will be applied to "Compatible" version after I finish these posts. The GM Notes of Lib:libDnD35Pathfinder now shows the last update date on token, 8-7-2020.

User avatar
lmarkus001
Great Wyrm
Posts: 1867
Joined: Sat Mar 29, 2008 12:30 am
Location: Layfayette Hill, PA

Re: 91.08 Pathfinder + D&D3.5 Framework

Post by lmarkus001 »

This is better placed in the CharSheet macro on the library token so it is always applied.
aliasmask wrote:
Fri Aug 07, 2020 2:39 pm
I did make a stealth update to the "Compatible" version a lit bit ago. Here is that change.

Sheet Macro in campaign window forces token type. Just copied code from Edit Char which does the same thing. Some people forget to change the token type from Basic and get errors. This prevents that.

Code: Select all

[H: ids = getSelected()]
[H: abort(if(ids == "", 0, 1))]

[H: tLib = "Lib:libDnD35Pathfinder" ]
[H: tokenType = getPropertyType(ids)]
[H: system = getLibProperty("system","Lib:GlobalsSRDPF")]
[H, IF(system == "D&D3.5"): system = "DnD35"]
[H, IF("Basic" == tokenType): setPropertyType(system,ids)]

[H,MACRO("[email protected]:libDnD35Pathfinder"): "Page=Main"]

User avatar
aliasmask
Deity
Posts: 8711
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: 91.08 Pathfinder + D&D3.5 Framework

Post by aliasmask »

New Update version 6-16-21

OP has the campaign file, but for the lib token only, you can download here: Lib_libDnD35Pathfinder.rptok

Code: Select all

MT Version 1.8.3
Update 3-9-2021 (AM)
*Fixed editWeapon when called from character sheet. callback used macro.args which is changed by the time it reaches bottom of page with callback. Also fixed blank output in chat. Also updated editArmorLegacy for similar issue. I checked rest of the code callbacks and should be fine.

MT Version 1.8.5
Update 4-28-2021 (AM)
* Fixed editFeats and editTraits when called from the character sheet main page. A json object is passed but requires a string property.

MT Version 1.8.5
Update 5-10-2021 (AM)
* Added Crane Style and Crane Riposte to Feats. Updated Attack, AttackLib and AttackLib.sub and the Active Mods for Flurry of Blows, Fight Defensively and Total Defense.
* Reorganize attack dialog. Added Extra Attacks. Added apply Sneak and apply Favored Enemy. Flurry of Blows now calculates correctly and sets Full Attack and -2 Penalty. Fight Defensively and Total Defense now account for Crane Style and Crane Riposte.

MT Version 1.8.5
Update 6-16-21 (AM)
* Fix for decay after making change for flurry of blows.
* Fix for Attack Frame for sneak, favored enemy and flurry of blows
* Fix for Haste and multiple weapons. Only first weapon gets Haste.
* Macros affected: processAttack, Attack

Post Reply

Return to “D&D 3.5/Pathfinder 1e Campaign Macros”