Ozzie_Sav

adding text to Thunder Bolt Spell

Jul 5th, 2024
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. WeaponsList["thunder bolt"] = {
  2. regExpSearch: /^(?=.*thunder)(?=.*bolt).*$/i,
  3. name: "Thunder Bolt",
  4. source: ["Nythoria", 2],
  5. list: "spell",
  6. ability: 6, // Charisma
  7. type: "Cantrip",
  8. damage: ["C\xD7" + 1, 10, "thunder"],
  9. range: "60 ft",
  10. description: "Each d10 is a separate bolt requiring separate rolls",
  11. abilitytodamage: false
  12. };
  13.  
  14. calcChanges: {
  15. atkAdd: [
  16. function (fields, v) {
  17. if (v.baseWeaponName === "thunder bolt" && /thadlor's crescendo - exalted/i.test(v.WeaponTextName)) {
  18. fields.Description += (fields.Description ? '; ' : '') + '+2d6 lightning damage';
  19. fields.Damage_Die[1] += 12; // Add 2d6 lightning damage
  20. }
  21. },
  22. "Thadlor's Crescendo - Exalted allows the bard to cast Thunder Bolt at will, dealing an additional 2d6 lightning damage."
  23. ]
  24. },
Advertisement
Add Comment
Please, Sign In to add comment