GuinnessDNA Beginner
Joined: 12 Feb 2003 Posts: 23
|
Posted: Tue Feb 25, 2003 10:49 pm
Gemstone III Hit advantage |
This is a very simple trigger that displays your advantage to hit a critter or them to hit you. For example:
AS: +15 vs DS: +501 with AvD: +27 + d100 roll: +11 = -448 Advantage -459
It adds the "advantage" part, and colors it red if its negative or 0, it sticks out like a sore thumb and you can instantly know the probability of getting hit/hitting
works for CS, haven't adapted for MD but thats easy enough to do if you want to do it. Also doesn't trigger if there is a minus after the roll (like bard songs)
#CLASS {Gemstone|Info}
#TRIGGER {AS: &%nAS vs DS: &%nDS with AvD: &%nAvD + d100 roll: &%nRoll = &%nTotal} {#sub {AS: @AS vs DS: @DS with AvD: @AvD + d100 roll: @Roll = @Total %ansi(high, %if(%eval( @AS - @DS + @AvD) > 0,green,red)) Advantage %eval( @AS - @DS + @AvD)}}
#TRIGGER {CS:%s&%nCS%s-%sTD:%s&%nTD%s+%sCvA:%s&%nCvA%s+%sd100:%s&%nRoll%s==%s&%nTotal} {#sub {CS: @CS - TD: @TD + CvA: @CvA + d100 roll: @Roll == @Total %ansi(high, %if(%eval( @CS - @TD + @CvA) > 0,green,red)) Advantage %eval( @CS - @TD + @CvA)}}
#CLASS 0 |
|