PDA

View Full Version : Edit ruleset of Pathfinder for critical



ekmule
August 8th, 2015, 16:30
Hi,

A friend say me we can change rule of pathfinder but i don't find how. I just want to change the rule of critical like :

When you do a critical you don't confirm it but you do max damage if your weapon have x2 critical, Do max x 1.5 damage if your weapon have X3 critical and do max damage x 2 if your weapon have a X4 critical.

Somone can help me ?

My regards,

Trenloe
August 8th, 2015, 18:17
Modify the 3.5E ruleset (3.5E.pak in the <FG app data>\rulesets directory). Look at scripts\manage_actions_damage.lua - the "Handle critical" section starts at line 197.

Information you'll need to know about modifying a ruleset: https://www.fantasygrounds.com/forums/showthread.php?19033-Modifying-the-3-5e-PFRPG-ruleset

It's not an easy task to start modifying a ruleset - you'll need to know/learn some LUA programming to do what you want to do, and understand how FG handles damage data.

ekmule
August 20th, 2015, 14:10
Thx !!

Well like you say, it's not an easy task but i understand the code.

I hope i will find how to change the critical like i want :D

Edit : Someone know where i can find the code for the option : Max NPC hit points ?

Trenloe
August 20th, 2015, 15:43
Edit : Someone know where i can find the code for the option : Max NPC hit points ?
3.5E ruleset, scripts\combat_manager2.lua, addNPC function.