mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
Updated xp cost for new ruleset
This commit is contained in:
@@ -5164,24 +5164,24 @@ NOTE: replace worker by javascript for IDE functionality
|
||||
if (level === '+5') return 100
|
||||
if (level === '+10') return 200
|
||||
if (level === '+15') return 400
|
||||
if (level === '+20') return 800
|
||||
if (level === '+20') return 600
|
||||
if (level === '+25') return 1200
|
||||
if (level === '+30') return 2400
|
||||
}
|
||||
if (firstAptitude || secondAptitude) {
|
||||
if (level === '+5') return 150
|
||||
if (level === '+10') return 300
|
||||
if (level === '+15') return 600
|
||||
if (level === '+20') return 900
|
||||
if (level === '+25') return 1800
|
||||
if (level === '+30') return 3600
|
||||
}
|
||||
if (!firstAptitude && !secondAptitude) {
|
||||
if (level === '+5') return 200
|
||||
if (level === '+10') return 400
|
||||
if (level === '+15') return 800
|
||||
if (level === '+20') return 1200
|
||||
if (level === '+25') return 2400
|
||||
if (level === '+30') return 3600
|
||||
}
|
||||
if (!firstAptitude && !secondAptitude) {
|
||||
if (level === '+5') return 400
|
||||
if (level === '+10') return 800
|
||||
if (level === '+15') return 1200
|
||||
if (level === '+20') return 2400
|
||||
if (level === '+25') return 3600
|
||||
if (level === '+30') return 4800
|
||||
}
|
||||
}
|
||||
@@ -5193,19 +5193,19 @@ NOTE: replace worker by javascript for IDE functionality
|
||||
if (level === 'Known') return 100
|
||||
if (level === '+10') return 200
|
||||
if (level === '+20') return 300
|
||||
if (level === '+30') return 600
|
||||
if (level === '+30') return 500
|
||||
}
|
||||
if (firstAptitude || secondAptitude) {
|
||||
if (level === 'Known') return 150
|
||||
if (level === '+10') return 300
|
||||
if (level === '+20') return 450
|
||||
if (level === '+30') return 750
|
||||
}
|
||||
if (!firstAptitude && !secondAptitude) {
|
||||
if (level === 'Known') return 200
|
||||
if (level === '+10') return 400
|
||||
if (level === '+20') return 600
|
||||
if (level === '+30') return 1200
|
||||
}
|
||||
if (!firstAptitude && !secondAptitude) {
|
||||
if (level === 'Known') return 300
|
||||
if (level === '+10') return 600
|
||||
if (level === '+20') return 900
|
||||
if (level === '+30') return 1800
|
||||
if (level === '+30') return 1000
|
||||
}
|
||||
}
|
||||
if (t1Talent) {
|
||||
@@ -5221,16 +5221,16 @@ NOTE: replace worker by javascript for IDE functionality
|
||||
var secondAptitude = aptitudes.includes(t2Talent.aptitudes[1].toLowerCase())
|
||||
|
||||
if (firstAptitude && secondAptitude) return 300
|
||||
if (firstAptitude || secondAptitude) return 500
|
||||
if (!firstAptitude && !secondAptitude) return 800
|
||||
if (firstAptitude || secondAptitude) return 450
|
||||
if (!firstAptitude && !secondAptitude) return 750
|
||||
}
|
||||
if (t3Talent) {
|
||||
var firstAptitude = aptitudes.includes(t3Talent.aptitudes[0].toLowerCase())
|
||||
var secondAptitude = aptitudes.includes(t3Talent.aptitudes[1].toLowerCase())
|
||||
|
||||
if (firstAptitude && secondAptitude) return 500
|
||||
if (firstAptitude || secondAptitude) return 800
|
||||
if (!firstAptitude && !secondAptitude) return 1200
|
||||
if (firstAptitude && secondAptitude) return 400
|
||||
if (firstAptitude || secondAptitude) return 600
|
||||
if (!firstAptitude && !secondAptitude) return 1000
|
||||
}
|
||||
//if (t4Talent) {
|
||||
// var firstAptitude = aptitudes.includes(t3Talent.aptitudes[0].toLowerCase())
|
||||
|
||||
Reference in New Issue
Block a user