-
April 21st, 2013, 05:16 #1
- Join Date
- Aug 2011
- Location
- Montreal, Canada
- Posts
- 1,172
Howto: Coding effect vs full attack
I'm not sure if there is a way to do this with effects:
When a paladin use Smite Evil, he gets a bonus to AC vs attacks from his Smite target. Setting the AC boost effect with a duration of a single action works well - the PC toggles it just before being attacked. This way, the AC boost isn't present when other creatures attack the paladin.
This method breaks down when the smite target has multiple attacks in a full attack. The AC boost is only used against the first attack.
Is there a smart way of dealing with this that I am not seeing (other than of course resolving it "manually").
-
April 21st, 2013, 06:31 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,613
The GM can "target" the effect to only apply when that creature is involved. There is a targeting button to the right side of each effect in the GM combat tracker when you expand the details of the effect list. Click the targeting entity list on the effect to remove the effect targeting.
Cheers,
JPG
-
May 2nd, 2013, 19:39 #3
- Join Date
- Aug 2011
- Location
- Montreal, Canada
- Posts
- 1,172
Originally Posted by moon_wizard
On the same topic, Smite Evil bypasses all types of damage reduction. I tested implementing this by using DMGTYPE, listing every type, but that didn't work. It displayed all the damage types in the chat window, but it didn't bypass damage reduction when applying in the combat tracker. I'm not sure if I messed up the syntax...?
Is that the right way of coding a "bypass all DR"?
Also, I don't think there is a tag to refer to caster level (CL), like for the stats, right? The damage for SmiteEvil is based on the Paladin's level, so it has to be hardcoded and modified each level?
-
May 2nd, 2013, 19:47 #4
As far as I know, you'll have to recode it manually everytime you level up.
As for bypassing DR, in one campaign I play in, we just used "DMGTYPE force". Although Smite Evil isn't a force effect, force damage does bypass DR (it's energy damage after all), so that's a way to trick the code into doing what you want."The trouble with quotes on the internet is that it's difficult to discern whether or not they are genuine."
- Abraham Lincoln
83 % of made-up statistics use the number "83 %".
For best results, don't fail.
-
May 3rd, 2013, 02:44 #5
- Join Date
- Aug 2011
- Location
- Montreal, Canada
- Posts
- 1,172
Smart work-around. Thanks!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks