Added a block for bonus.
Including if a bonus is required, maximum and minimum.
This commit is contained in:
		
							parent
							
								
									3b92087497
								
							
						
					
					
						commit
						745c9e0feb
					
				@ -6,7 +6,10 @@
 | 
				
			|||||||
  grade: moderate
 | 
					  grade: moderate
 | 
				
			||||||
  spells: ["Cat's Grace"]
 | 
					  spells: ["Cat's Grace"]
 | 
				
			||||||
  feats: [Craft Wondrous Item]
 | 
					  feats: [Craft Wondrous Item]
 | 
				
			||||||
  has_bonus: true
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    maximum: 10
 | 
				
			||||||
 | 
					    minimum: 1
 | 
				
			||||||
  lua:
 | 
					  lua:
 | 
				
			||||||
    price: (math.pow(ability.bonus, 2) * 1000)
 | 
					    price: (math.pow(ability.bonus, 2) * 1000)
 | 
				
			||||||
  description: >-
 | 
					  description: >-
 | 
				
			||||||
@ -17,7 +20,9 @@
 | 
				
			|||||||
  grade: moderate
 | 
					  grade: moderate
 | 
				
			||||||
  spell: ["Bull's Strength"]
 | 
					  spell: ["Bull's Strength"]
 | 
				
			||||||
  feats: ["Craft Wondrous Item"]
 | 
					  feats: ["Craft Wondrous Item"]
 | 
				
			||||||
  has_bonus: true
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    minimum: 1
 | 
				
			||||||
  lua:
 | 
					  lua:
 | 
				
			||||||
    price: (math.pow(ability.bonus, 2) * 1000)
 | 
					    price: (math.pow(ability.bonus, 2) * 1000)
 | 
				
			||||||
  description: >-
 | 
					  description: >-
 | 
				
			||||||
@ -29,7 +34,10 @@
 | 
				
			|||||||
  grade: moderate
 | 
					  grade: moderate
 | 
				
			||||||
  spell: ["Bear's Endurance"]
 | 
					  spell: ["Bear's Endurance"]
 | 
				
			||||||
  feats: ["Craft Wondrous Item"]
 | 
					  feats: ["Craft Wondrous Item"]
 | 
				
			||||||
  has_bonus: true
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    maximum: 10
 | 
				
			||||||
 | 
					    minimum: 1
 | 
				
			||||||
  lua:
 | 
					  lua:
 | 
				
			||||||
    price: (math.pow(ability.bonus, 2) * 1000)
 | 
					    price: (math.pow(ability.bonus, 2) * 1000)
 | 
				
			||||||
  description: >-
 | 
					  description: >-
 | 
				
			||||||
@ -40,7 +48,10 @@
 | 
				
			|||||||
  grade: moderate
 | 
					  grade: moderate
 | 
				
			||||||
  spell: ["Owl's Wisdom"]
 | 
					  spell: ["Owl's Wisdom"]
 | 
				
			||||||
  feats: ["Craft Wondrous Item"]
 | 
					  feats: ["Craft Wondrous Item"]
 | 
				
			||||||
  has_bonus: true
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    maximum: 10
 | 
				
			||||||
 | 
					    minimum: 1
 | 
				
			||||||
  lua:
 | 
					  lua:
 | 
				
			||||||
    price: (math.pow(ability.bonus, 2) * 1000)
 | 
					    price: (math.pow(ability.bonus, 2) * 1000)
 | 
				
			||||||
  description: >-
 | 
					  description: >-
 | 
				
			||||||
@ -52,7 +63,10 @@
 | 
				
			|||||||
  grade: moderate
 | 
					  grade: moderate
 | 
				
			||||||
  spell: ["Fox's Cunning"]
 | 
					  spell: ["Fox's Cunning"]
 | 
				
			||||||
  feats: ["Craft Wondrous Item"]
 | 
					  feats: ["Craft Wondrous Item"]
 | 
				
			||||||
  has_bonus: true
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    maximum: 10
 | 
				
			||||||
 | 
					    minimum: 1
 | 
				
			||||||
  lua:
 | 
					  lua:
 | 
				
			||||||
    price: (math.pow(ability.bonus, 2) * 1000)
 | 
					    price: (math.pow(ability.bonus, 2) * 1000)
 | 
				
			||||||
  description: >-
 | 
					  description: >-
 | 
				
			||||||
@ -63,7 +77,10 @@
 | 
				
			|||||||
  grade: moderate
 | 
					  grade: moderate
 | 
				
			||||||
  spell: ["Eagle's Splendor"]
 | 
					  spell: ["Eagle's Splendor"]
 | 
				
			||||||
  feats: ["Craft Wondrous Item"]
 | 
					  feats: ["Craft Wondrous Item"]
 | 
				
			||||||
  has_bonus: true
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    maximum: 10
 | 
				
			||||||
 | 
					    minimum: 1
 | 
				
			||||||
  lua:
 | 
					  lua:
 | 
				
			||||||
    price: (math.pow(ability.bonus, 2) * 1000)
 | 
					    price: (math.pow(ability.bonus, 2) * 1000)
 | 
				
			||||||
  description: >-
 | 
					  description: >-
 | 
				
			||||||
@ -74,7 +91,10 @@
 | 
				
			|||||||
  grade: faint
 | 
					  grade: faint
 | 
				
			||||||
  spell: ["Shield of Faith"]
 | 
					  spell: ["Shield of Faith"]
 | 
				
			||||||
  feats: ["Craft Wondrous Item"]
 | 
					  feats: ["Craft Wondrous Item"]
 | 
				
			||||||
  has_bonus: true
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    maximum: 10
 | 
				
			||||||
 | 
					    minimum: 1
 | 
				
			||||||
  lua:
 | 
					  lua:
 | 
				
			||||||
    price: (math.pow(ability.bonus, 2) * 2000)
 | 
					    price: (math.pow(ability.bonus, 2) * 2000)
 | 
				
			||||||
  description: >-
 | 
					  description: >-
 | 
				
			||||||
@ -85,7 +105,10 @@
 | 
				
			|||||||
  grade: faint
 | 
					  grade: faint
 | 
				
			||||||
  spell: ["Barkskin"]
 | 
					  spell: ["Barkskin"]
 | 
				
			||||||
  feats: ["Craft Wondrous Item"]
 | 
					  feats: ["Craft Wondrous Item"]
 | 
				
			||||||
  has_bonus: true
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    maximum: 10
 | 
				
			||||||
 | 
					    minimum: 1
 | 
				
			||||||
  lua:
 | 
					  lua:
 | 
				
			||||||
    price: (math.pow(ability.bonus, 2) * 2000)
 | 
					    price: (math.pow(ability.bonus, 2) * 2000)
 | 
				
			||||||
  description: >-
 | 
					  description: >-
 | 
				
			||||||
@ -96,19 +119,37 @@
 | 
				
			|||||||
  grade: faint
 | 
					  grade: faint
 | 
				
			||||||
  spell: ["Resistance"]
 | 
					  spell: ["Resistance"]
 | 
				
			||||||
  feats: ["Craft Wondrous Item"]
 | 
					  feats: ["Craft Wondrous Item"]
 | 
				
			||||||
  has_bonus: true
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    maximium: 10
 | 
				
			||||||
 | 
					    minimum: 1
 | 
				
			||||||
  lua:
 | 
					  lua:
 | 
				
			||||||
    price: (math.pow(ability.bonus, 2) * 1000)
 | 
					    price: (math.pow(ability.bonus, 2) * 1000)
 | 
				
			||||||
  description: >-
 | 
					  description: >-
 | 
				
			||||||
    This item grants an enhancement bonus to all saving throws (fortitude,
 | 
					    This item grants an enhancement bonus to all saving throws (fortitude,
 | 
				
			||||||
    reflex, will).
 | 
					    reflex, will).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: Spell resistance
 | 
				
			||||||
 | 
					  school: abjuration
 | 
				
			||||||
 | 
					  grade: moderate
 | 
				
			||||||
 | 
					  spell: ["Spell resistance"]
 | 
				
			||||||
 | 
					  feats: ["Craft Wondrous Item"]
 | 
				
			||||||
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    minimum: 13
 | 
				
			||||||
 | 
					  lua:
 | 
				
			||||||
 | 
					    price: ((ability.bonus - 12) * 10000)
 | 
				
			||||||
 | 
					  description: >-
 | 
				
			||||||
 | 
					    This item grants the wearer spell resistance.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Hide
 | 
					- name: Hide
 | 
				
			||||||
  school: illusion
 | 
					  school: illusion
 | 
				
			||||||
  grade: faint
 | 
					  grade: faint
 | 
				
			||||||
  spell: ["Invisibility"]
 | 
					  spell: ["Invisibility"]
 | 
				
			||||||
  feats: ["Craft Wondrous Item"]
 | 
					  feats: ["Craft Wondrous Item"]
 | 
				
			||||||
  has_bonus: true
 | 
					  bonus:
 | 
				
			||||||
 | 
					    required: true
 | 
				
			||||||
 | 
					    minimum: 1
 | 
				
			||||||
  lua:
 | 
					  lua:
 | 
				
			||||||
    price: (math.pow(ability.bonus, 2) * 100)
 | 
					    price: (math.pow(ability.bonus, 2) * 100)
 | 
				
			||||||
  description: >-
 | 
					  description: >-
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user