spell.ts 765 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. export interface Spell {
  2. name: string;
  3. level: number;
  4. cost: string;
  5. canRitual: boolean;
  6. needsConcentration: boolean;
  7. needsVerbal: boolean;
  8. needsSomatic: boolean;
  9. needsMaterial: boolean;
  10. school: string;
  11. description: string;
  12. needsAttackRoll: boolean;
  13. needsSavingThrow: boolean;
  14. savingThrowAttribute?: string;
  15. isRanged: boolean;
  16. range?: number;
  17. hasAreaOfEffect: boolean;
  18. radius?: number;
  19. areaOfEffectType?: string;
  20. doesDamage: boolean;
  21. attackBonus?: string;
  22. damage?: Damage[];
  23. doesHeal: boolean;
  24. healAmount?: Heal;
  25. }
  26. interface Damage {
  27. diceNumber: string;
  28. diceType: string;
  29. damageType: string;
  30. additionalDamage?: string;
  31. }
  32. interface Heal {
  33. diceNumber: string;
  34. diceType: string;
  35. additionalHeal?: number;
  36. }