Hi guys,
I wonder if i can get a hand on a macro I want to do but cannot find how would be the easiest way.
So what i want to do is be able to do multiple attacks on the same targets, but instead of clicking the target (x) times just have a prompt query where i can just write the number of attacks i want to do. Could i get some help on how the logical build would be?
This is the macro I am using atm
!power {{
--whisper|GM
--titlefontshadow|none
--titlefont|Georgia
--titlefontsize| 20px
--orowbg|#D87E7E
--erowbg|#DA3C3C
--corners|10
--format|Attack
--name| Crude Weapons
--rightsub|Balanced, Tearing
--leftsub|Melee
--tokenid|@{selected|Token_Id}
--targettokenid|@{target|token_id}
--emote| **@{selected|character_name}** Attacks **@{target|character_name}**
--?? $ARoll.base <= $Target ?? Damage|[[ [$Dmg1] 2d10kh1 + [[ ([[floor(@{selected|Strength}/10)]] +[[floor(@{selected|advanceS}/10)]]) ]] ]] ~R **Pen** 0 ~R--Degrees| ~R [[ round(([[@{Selected|WeaponSkill}+?{Modifier|0}+@{Selected|advanceWS}]] - [$ARoll] 1d100) / 10) ]] ~R
--?? $ARoll.base <= $Target ?? Horde Damage| [[1d10]] [[1d10]]--hroll| [[ [$Target] @{Selected|WeaponSkill}+?{Modifier|0}+@{Selected|advanceWS} + 0d0 ]]
--?? $ARoll.base > $Target ?? Outcome|~R //Miss// ~R
--?? $ARoll.base <= $Target AND $ARoll.base <= 10 ?? Outcome|~R //Hit Head// ~R
--?? $ARoll.base <= $Target AND $ARoll.base >= 11 AND $ARoll.base <= 20 ?? Outcome|~R //Hit Right Arm// ~R
--?? $ARoll.base <= $Target AND $ARoll.base >= 21 AND $ARoll.base <= 30 ?? Outcome|~R //Hit Left Arm// ~R
--?? $ARoll.base <= $Target AND $ARoll.base >= 31 AND $ARoll.base <= 70 ?? Outcome|~R //Hit Body// ~R
--?? $ARoll.base <= $Target AND $ARoll.base >= 71 AND $ARoll.base <= 85 ?? Outcome|~R //Hit Right Leg// ~R
--?? $ARoll.base <= $Target AND $ARoll.base >= 86 ?? Outcome|~R //Hit Left Leg// ~R
--?? $Dmg1.base == 10 AND $ARoll.base <= $Target ?? Righteous Fury|~R + [[1d10]] If WS succeed ~R--?? $ARoll.base <= $Target ?? soundfx1|_play|Knife Hit
--?? $ARoll.base > $Target ?? soundfx2|_play|Knife Miss
}}
Any help would be super appreciate it as i am hammering my head but I cannot find an easy way. The idea I have is to make a drop query, but that would mean i would need to make all this for each attack, wich it would not be faster than clicking a couple of times.