Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update summon primal.alias #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions Collections/Croebhs Summon Alias/summon primal.alias
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ summon_type = args.last('type', "", str).lower()

sab = ch.spellbook.sab
sdc = ch.spellbook.dc
wm = ch.stats.get_mod("wis")
true, false, null = True, False, None

ranger = ch.levels.get('Ranger')
Expand All @@ -25,12 +26,12 @@ if not (c and c.me):

stat_block = {
"hp": 5 + (5 * ranger),
"ac": 13 + proficiencyBonus,
"ac": 13 + wm,
"pb": proficiencyBonus,
"type": "beast",
"strength": 14,
"dexterity": 12,
"constitution": 14,
"dexterity": 14,
"constitution": 15,
"intelligence": 8,
"wisdom": 14,
"charisma": 11,
Expand All @@ -45,15 +46,22 @@ match summon_type:
stat_block["strength"] = 14
stat_block["dexterity"] = 14
stat_block["constitution"] = 15
attacks = [{"name":"Maul","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d8 + 2 + {proficiencyBonus} [slashing]"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d8 + 2 + PB slashing damage."}],"_v":2},{"name":"Charge","automation":[{"type":"target","target":"each","effects":[{"type":"damage","damage":"1d6 [slashing]"},{"type":"save","stat":"str","dc":sdc,"fail":[{"type":"ieffect2","name":"Prone","effects":{"attack_advantage":-1},"desc":"A prone creature's only movement option is to crawl, unless it stands up and thereby ends the condition","buttons":[{"automation":[{"type":"remove_ieffect"}],"label":"Stand Up","verb":"stands up"}]}],"success":[]}]},{"type":"text","text":"If the beast moves at least 20 feet straight toward a target and then hits it with a maul attack on the same turn, the target takes an extra 1d6 slashing damage. If the target is a creature, it must succeed on a Strength saving throw against your spell save DC or be knocked prone."}],"_v":2,"verb":"rushes forward with","activation_type":8}]
attacks = [{"name":"Beast's Strike","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d8 + 3 + " + wm + " [slashing]"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d8 + 3 + wisdom modifier slashing damage."}],"_v":2},{"name":"Charge","automation":[{"type":"target","target":"each","effects":[{"type":"damage","damage":"1d6 [slashing]"},{"type":"ieffect2","name":"Prone","effects":{"attack_advantage":-1},"desc":"A prone creature's only movement option is to crawl, unless it stands up and thereby ends the condition","buttons":[{"automation":[{"type":"remove_ieffect"}],"label":"Stand Up","verb":"stands up"}]}],"success":[]},{"type":"text","text":"If the beast moves at least 20 feet straight toward a target and then hits it with a maul attack on the same turn, the target takes an extra 1d6 damage of the same type, and the target has the Prone condition if it is a Large or smaller creature."}],"_v":2,"verb":"rushes forward with","activation_type":8}]
if ranger >= 7:
attacks.append({"name":"Beast's Strike (Force) ","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d8 + 3 + " + wm + " [force]"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d8 + 3 + wisdom modifier force damage."}],"_v":2})
attacks.append({"name":"Charge (Force)","automation":[{"type":"target","target":"each","effects":[{"type":"damage","damage":"1d6 [force]"},{"type":"ieffect2","name":"Prone","effects":{"attack_advantage":-1},"desc":"A prone creature's only movement option is to crawl, unless it stands up and thereby ends the condition","buttons":[{"automation":[{"type":"remove_ieffect"}],"label":"Stand Up","verb":"stands up"}]}],"success":[]},{"type":"text","text":"If the beast moves at least 20 feet straight toward a target and then hits it with a maul attack on the same turn, the target takes an extra 1d6 damage of the same type, and the target has the Prone condition if it is a Large or smaller creature."}],"_v":2,"verb":"rushes forward with","activation_type":8})
case "sea":
stat_block["strength"] = 14
stat_block["dexterity"] = 14
stat_block["constitution"] = 15
attacks = [{"name":"Binding Strike (Piercing)","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d6 + 2 + {proficiencyBonus} [piercing]"},{"type":"ieffect2","name":"Grappling {{target.name if str(target)!=target else target}}","buttons":[{"label":"Release {{target.name if str(target)!=target else target}}","verb":"releases {{target.name if str(target)!=target else target}}","style":"1","automation":[{"type":"remove_ieffect","removeParent":"always"}]}],"save_as":"grapple","target_self":true},{"type":"ieffect2","name":"Grappled by {{caster.name}}","desc":f"Escape DC {sdc}","buttons":[{"label":"Escape {{caster.name}}'s Grapple","verb":"tries to escape from {{caster.name}}'s grapple","automation":[{"type":"target","target":"self","effects":[{"type":"check","ability":["acrobatics","athletics"],"dc":sdc,"success":[{"type":"remove_ieffect","removeParent":"if_no_children"}],"fail":[]}]},{"type":"text","text":"A creature grappled by the monster can use its action to try to escape. To do so, it must succeed on a Strength (Athletics) or Dexterity (Acrobatics) check against the escape DC in the monster's stat block."}]}],"parent":"grapple"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d6 + 2 + PB piercing or bludgeoning damage (your choice), and the target is grappled (escape DC equals your spell save DC). Until this grapple ends, the beast can't use this attack on another target."}],"_v":2},{"name":"Binding Strike (Bludgeoning)","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d6 + 2 + {proficiencyBonus} [bludgeoning]"},{"type":"ieffect2","name":"Grappling {{target.name if str(target)!=target else target}}","buttons":[{"label":"Release {{target.name if str(target)!=target else target}}","verb":"releases {{target.name if str(target)!=target else target}}","style":"1","automation":[{"type":"remove_ieffect","removeParent":"always"}]}],"save_as":"grapple","target_self":true},{"type":"ieffect2","name":"Grappled by {{caster.name}}","desc":f"Escape DC {sdc}","buttons":[{"label":"Escape {{caster.name}}'s Grapple","verb":"tries to escape from {{caster.name}}'s grapple","automation":[{"type":"target","target":"self","effects":[{"type":"check","ability":["acrobatics","athletics"],"dc":sdc,"success":[{"type":"remove_ieffect","removeParent":"if_no_children"}],"fail":[]}]},{"type":"text","text":"A creature grappled by the monster can use its action to try to escape. To do so, it must succeed on a Strength (Athletics) or Dexterity (Acrobatics) check against the escape DC in the monster's stat block."}]}],"parent":"grapple"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d6 + 2 + PB piercing or bludgeoning damage (your choice), and the target is grappled (escape DC equals your spell save DC). Until this grapple ends, the beast can't use this attack on another target."}],"_v":2},]
attacks = [{"name":"Beast's Strike (Piercing)","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d6 + 2 + " + wm + " [piercing]"},{"type":"ieffect2","name":"Grappling {{target.name if str(target)!=target else target}}","buttons":[{"label":"Release {{target.name if str(target)!=target else target}}","verb":"releases {{target.name if str(target)!=target else target}}","style":"1","automation":[{"type":"remove_ieffect","removeParent":"always"}]}],"save_as":"grapple","target_self":true},{"type":"ieffect2","name":"Grappled by {{caster.name}}","desc":f"Escape DC {sdc}","buttons":[{"label":"Escape {{caster.name}}'s Grapple","verb":"tries to escape from {{caster.name}}'s grapple","automation":[{"type":"target","target":"self","effects":[{"type":"check","ability":["acrobatics","athletics"],"dc":sdc,"success":[{"type":"remove_ieffect","removeParent":"if_no_children"}],"fail":[]}]},{"type":"text","text":"A creature grappled by the monster can use its action to try to escape. To do so, it must succeed on a Strength (Athletics) or Dexterity (Acrobatics) check against the escape DC in the monster's stat block."}]}],"parent":"grapple"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d6 + 2 + your wisdom mod piercing or bludgeoning damage (your choice), and the target is grappled (escape DC equals your spell save DC). Until this grapple ends, the beast can't use this attack on another target."}],"_v":2},{"name":"Beast's Strike (Bludgeoning)","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d6 + 2 + " + wm + " [bludgeoning]"},{"type":"ieffect2","name":"Grappling {{target.name if str(target)!=target else target}}","buttons":[{"label":"Release {{target.name if str(target)!=target else target}}","verb":"releases {{target.name if str(target)!=target else target}}","style":"1","automation":[{"type":"remove_ieffect","removeParent":"always"}]}],"save_as":"grapple","target_self":true},{"type":"ieffect2","name":"Grappled by {{caster.name}}","desc":f"Escape DC {sdc}","buttons":[{"label":"Escape {{caster.name}}'s Grapple","verb":"tries to escape from {{caster.name}}'s grapple","automation":[{"type":"target","target":"self","effects":[{"type":"check","ability":["acrobatics","athletics"],"dc":sdc,"success":[{"type":"remove_ieffect","removeParent":"if_no_children"}],"fail":[]}]},{"type":"text","text":"A creature grappled by the monster can use its action to try to escape. To do so, it must succeed on a Strength (Athletics) or Dexterity (Acrobatics) check against the escape DC in the monster's stat block."}]}],"parent":"grapple"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d6 + 2 + your wisdom mod piercing or bludgeoning damage (your choice), and the target is grappled (escape DC equals your spell save DC). Until this grapple ends, the beast can't use this attack on another target."}],"_v":2},]
if ranger >= 7:
attacks.append({"name":"Beast's Strike (Force)","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d6 + 2 + " + wm + " [force]"},{"type":"ieffect2","name":"Grappling {{target.name if str(target)!=target else target}}","buttons":[{"label":"Release {{target.name if str(target)!=target else target}}","verb":"releases {{target.name if str(target)!=target else target}}","style":"1","automation":[{"type":"remove_ieffect","removeParent":"always"}]}],"save_as":"grapple","target_self":true},{"type":"ieffect2","name":"Grappled by {{caster.name}}","desc":f"Escape DC {sdc}","buttons":[{"label":"Escape {{caster.name}}'s Grapple","verb":"tries to escape from {{caster.name}}'s grapple","automation":[{"type":"target","target":"self","effects":[{"type":"check","ability":["acrobatics","athletics"],"dc":sdc,"success":[{"type":"remove_ieffect","removeParent":"if_no_children"}],"fail":[]}]},{"type":"text","text":"A creature grappled by the monster can use its action to try to escape. To do so, it must succeed on a Strength (Athletics) or Dexterity (Acrobatics) check against the escape DC in the monster's stat block."}]}],"parent":"grapple"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d6 + 2 + your wisdom mod force damage, and the target is grappled (escape DC equals your spell save DC). Until this grapple ends, the beast can't use this attack on another target."}],"_v":2})
case "sky" | "air":
summon_type = "sky"
attacks = [{"name":"Shred","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d4 + 3 + {proficiencyBonus} [slashing]"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d4 + 3 + PB slashing damage."}],"_v":2}]
attacks = [{"name":"Beast's Strike","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d4 + 3 + " + wm + " [slashing]"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d4 + 3 + your wisdom mod Slashing damage."}],"_v":2}]
if ranger >= 7:
attacks.append({"name":"Beast's Strike (Force)","automation":[{"type":"target","target":"each","effects":[{"type":"attack","attackBonus":sab,"hit":[{"type":"damage","damage":"1d4 + 3 + " + wm + " [force]"}],"miss":[],"adv":"0"}]},{"type":"text","text":"*Melee Weapon Attack:* your spell attack modifier to hit, reach 5 ft., one target. *Hit:* 1d4 + 3 + your wisdom mod Force damage."}],"_v":2})
stat_block['hp'] = 4 + (4 * ranger)
stat_block["strength"] = 6
stat_block["dexterity"] = 16
Expand Down Expand Up @@ -95,4 +103,4 @@ return f"""multiline
{summon_command}
{embed}
"""
</drac2>
</drac2>