Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Any way to create workable attack macros for animal companions in 3.5?

I got myself a leopardm which unlike a the wolf I had have more than one type of attack. Attack, full attack, pounce and rake.I use this macro for the full attack: &{template:DnD35Attack} {{pcflag=true}} {{name=@{character_name}}} {{subtags=bites and claws }} {{attack1=hitting AC [[ 1d20 + [[+5]] ]] }} {{notes=@{meleeattacknote} }} {{damage1=for [[ 1d6+1 ]]dmg}} {{attack2=hitting AC [[ 1d20 + [[+1]] ]] }} {{notes=@{meleeattacknote} }} {{damage2=for [[ 1d3+1 ]]dmg}} {attack3=hitting AC [[ 1d20 + [[+1]] ]] }} {{notes=@{meleeattacknote} }} {{damage3=for [[ 1d3+1 ]]dmg}} It does work but attack 2 and 3 doesn't have the border. I'm using the npc sheet, which means that I don't have place to put pounce and rake. What can I do to fix the full attack, and to make a seperate working macro for rake and pounce?
1584787195
Ziechael
Forum Champion
Sheet Author
API Scripter
You are missing an opening { on your 3rd attack. 3.5e animal companions can be a real drain macro-wise... so many conditional things to account for, especially for creatures with pounce and rake abilities. I found, in the game I ran for 4 years here, that a single monstrous macro was worth the investment as long as you are able to use dynamic references to save the need to edit it in the future as the creature gains power. Mine were done using powercards (an API script that requires the creator of the game to have a pro subscription) so I can't easily share what I did (I also used full player sheets for all my NPCs, monsters etc as the NPC sheet came out well into my game running). Since going out is no longer an option I'll see what I can put together for you and hopefully it will show you the ropes a bit... please hold caller :)
Thank you! It would be a great help.
1584793717
Ziechael
Forum Champion
Sheet Author
API Scripter
So here is v1, it's not quite as I'd do it myself but it's a start, allowing a simple toggle between a single and multi-attack and additional option to include rake (although with this quick and dirty hack it only will show the rake if you've selected full attack). /w gm &{template:DnD35Attack} {{name=@{selected|token_name}}} {{subtags=attacks @{target|token_name} (vs AC) }} {{npcflag=true}} {{fullattackflag= ?{Attack type|Single,[[0d0]]|Full/Pounce,[[1d1]]} }} {{attack1=Bite: [[ 1d20 + floor(@{npchitdie}*0.75) + @{npcdex-mod} ]] }} {{critconfirm1=Crit!: [[ 1d20 + floor(@{npchitdie}*0.75) + @{npcdex-mod} ]] }} {{fumbleroll=Fumble: [[ 1d20 ]] }} {{damage1=Bite Damage: [[ 1d6 + @{npcstr-mod} ]] }} {{critdmg1=+[[ 1d6 + @{npcstr-mod} ]] crit dmg }} {{attack2=Claw 1: [[ 1d20 + floor(@{npchitdie}*0.75) + @{npcdex-mod} - 2 ]] }} {{critconfirm2=Crit!: [[ 1d20 + floor(@{npchitdie}*0.75) + @{npcdex-mod} - 2 ]] }} {{fumbleroll=Fumble: [[ 1d20 ]] }} {{damage2=Claw 1: [[ 1d3 + floor(@{npcstr-mod}/2) ]] }} {{critdmg2=+[[ 1d3 + floor(@{npcstr-mod}/2) ]] crit dmg }} {{attack3=Claw 2: [[ 1d20 + floor(@{npchitdie}*0.75) + @{npcdex-mod} - 2 ]] }} {{critconfirm3=Crit!: [[ 1d20 + floor(@{npchitdie}*0.75) + @{npcdex-mod} - 2 ]] }} {{fumbleroll=Fumble: [[ 1d20 ]] }} {{damage3=Claw 2: [[ 1d3 + floor(@{npcstr-mod}/2) ]] }} {{critdmg3=+[[ 1d3 + floor(@{npcstr-mod}/2) ]] crit dmg }} ?{Raking|No,|Yes,{{attack4=Rake 1: [[ 1d20 + floor(@{npchitdie}*0.75) + @{npcdex-mod} ]]  }} {{critconfirm4=Crit!: [[ 1d20 + floor(@{npchitdie}*0.75) + @{npcdex-mod} ]]  }} {{fumbleroll=Fumble: [[ 1d20 ]]  }} {{damage4=Rake 1: [[ 1d3 + floor(@{npcstr-mod}/2) ]]  }} {{critdmg4=+[[ 1d3 + floor(@{npcstr-mod}/2) ]] crit dmg  }} {{attack5=Rake 2: [[ 1d20 + floor(@{npchitdie}*0.75) + @{npcdex-mod} ]]  }} {{critconfirm5=Crit!: [[ 1d20 + floor(@{npchitdie}*0.75) + @{npcdex-mod} ]]  }} {{fumbleroll=Fumble: [[ 1d20 ]]  }} {{damage5=Rake 2: [[ 1d3 + floor(@{npcstr-mod}/2) ]]  }} {{critdmg4=+[[ 1d3 + floor(@{npcstr-mod}/2) ]] crit dmg  }}} {{notes= Note: if it hits with it's bite, it can attempt to grapple as a free action}} I'm going to work on an extended v2 as some point that will give a much more versatile experience to suit a Leopard owner... it's worth noting that this one will scale with the increased in HD, Str and Dex and incorporates the fact that animal companions gain multiattack when they have 3+ natural attacks as standard)
1584796023

Edited 1584804410
Thank you! It seems to work pretty nicely. Edit: I think there might be problem somewhere in the macro. The attack rolls seem  to be lot higher than they ought to be. Somehow an the second rake, with its +6 modifier got a 43. That seems just a little too high for me. I think it might be the  floor(@{npchitdie}*0.75) part
1584808401

Edited 1584832396
I had made some changes to v1 macro:  &{template:DnD35Attack} {{name=@{character_name}}} {{subtags=attacks }} {{npcflag=true}} {{fullattackflag= ?{Attack type|Single,[[0d0]]|Full/Pounce,[[1d1]]} }} {{attack1=Bite: [[ 1d20 + @{npcbaseatt} +   @{npcdex-mod} ]] }} {{critconfirm1=Crit!:[[ 1d20 + @{npcbaseatt} +  @{npcdex-mod} ]] }}  {{damage1=Bite Damage: [[ 1d6 + @{npcstr-mod} ]] }} {{critdmg1=+[[ 1d6 + @{npcstr-mod} ]] crit dmg }} {{attack2=Claw 1: [[ 1d20 + @{npcbaseatt}      ]] }} {{critconfirm2=Crit!: [[ 1d20 + @{npcbaseatt}  ]]   }}  {{damage2=Claw 1: [[ 1d3 + floor(@{npcstr-mod}/2) ]] }} {{critdmg2=+[[ 1d3 + floor(@{npcstr-mod}/2) ]] crit dmg }} {{attack3=Claw 2:[[ 1d20 + @{npcbaseatt} ]] }} {{critconfirm3=Crit!: [[ 1d20 + @{npcbaseatt} +   @{npcdex-mod} ]] - 5 }}  {{damage3=Claw 2: [[ 1d3 + floor(@{npcstr-mod}/2) ]] }} {{critdmg3=+[[ 1d3 + floor(@{npcstr-mod}/2) ]] crit dmg }} ?{Raking|No,|Yes,{{attack4=Rake 1: [[ 1d20 + @{npcbaseatt} +   @{npcdex-mod} ]]  }} {{critconfirm4=Crit!: [[ 1d20 + @{npcbaseatt} +   @{npcdex-mod} ]]  }&#125  }} {{damage4=Rake 1: [[ 1d3 + floor(@{npcstr-mod}/2) ]]  }} {{critdmg4=+[[ 1d3 + floor(@{npcstr-mod}/2) ]] crit dmg  }} {{attack5=Rake 2: [[ 1d20 + @{npcbaseatt} +   @{npcdex-mod} ]]  }} {{critconfirm5=Crit!:[[ 1d20 + @{npcbaseatt} +   @{npcdex-mod} ]]  }}   }} {{damage5=Rake 2: [[ 1d3 + floor(@{npcstr-mod}/2) ]]  }} {{critdmg4=+[[ 1d3 + floor(@{npcstr-mod}/2) ]] crit dmg  }}} {{notes= Note: if it hits with it's bite, it can attempt to grapple as a free action}} I elimanated some things that we don't use in this campaign, and fixed the too high attack roll.