PDA

View Full Version : Automatically apply DR after attack roll



Myrddin
May 29th, 2013, 01:54
I am modding the 3.5E ruleset for Pendragon and I'd like to be able to automatically apply an effect, specifically DR, automatically after an attack roll.

I'd appreciate any pointers on the basic code to use to add the effect and where best to add the appropriate code within the manager_action_attack.lua file. The amount of the DR will vary, but I think I can handle building the string for the effect label if I could just get started on the basic code to add the effect.

Thanks for any help you can provide.

Myrddin
May 29th, 2013, 20:33
Never mind, I figured out how to do it.