Spellcost NaN

good documentation!
This commit is contained in:
hppeng 2022-07-20 09:37:39 -07:00
parent b0777ecfcf
commit eee9707016
3 changed files with 5 additions and 30 deletions

View file

@ -41,8 +41,8 @@ add_spell_prop: {
// If target part does not exist, a new part is created.
behavior: Optional[str] // One of: "merge", "modify". default: merge
// merge: add if exist, make new part if not exist
// modify: change existing part. do nothing if not exist
cost: Optional[int] // change to spellcost
// modify: increment existing part. do nothing if not exist
cost: Optional[int] // change to spellcost. If the spell is not spell 1-4, this must be left empty.
multipliers: Optional[array[float, 6]] // Additive changes to spellmult (for damage spell)
power: Optional[float] // Additive change to healing power (for heal spell)
hits: Optional[Map[str, float]] // Additive changes to hits (for total entry)
@ -62,7 +62,7 @@ raw_stat: {
// string value means bind to (or create) named button
behavior: Optional[str] // One of: "merge", "modify". default: merge
// merge: add if exist, make new part if not exist
// modify: change existing part. do nothing if not exist
// modify: increment existing part. do nothing if not exist
bonuses: List[stat_bonus]
}
stat_bonus: {

View file

@ -9338,9 +9338,6 @@ const atrees = {
"name": "Dash",
"cost": 20,
"base_spell": 2,
"spell_type": "damage",
"scaling": "spell",
"use_atkspd": true,
"display": "Total Damage",
"parts": [
{
@ -9418,9 +9415,6 @@ const atrees = {
"name": "Smoke Bomb",
"cost": 40,
"base_spell": 4,
"spell_type": "damage",
"scaling": "spell",
"use_atkspd": true,
"display": "Total Damage",
"parts": [
{
@ -9504,9 +9498,6 @@ const atrees = {
"name": "Multihit",
"cost": 45,
"base_spell": 3,
"spell_type": "damage",
"scaling": "spell",
"use_atkspd": true,
"display": "Total Damage",
"parts": [
{
@ -10464,11 +10455,7 @@ const atrees = {
{
"type": "replace_spell",
"name": "Violent Vortex",
"cost": 0,
"base_spell": 5,
"spell_type": "damage",
"scaling": "spell",
"use_atkspd": true,
"display": "Total Damage",
"parts": [
{
@ -10615,11 +10602,7 @@ const atrees = {
{
"type": "replace_spell",
"name": "Shurikens",
"cost": 0,
"base_spell": 6,
"spell_type": "damage",
"scaling": "spell",
"use_atkspd": true,
"display": "Total Damage",
"parts": [
{
@ -11037,11 +11020,7 @@ const atrees = {
{
"type": "replace_spell",
"name": "Violent Vortex",
"cost": 0,
"base_spell": 5,
"spell_type": "damage",
"scaling": "spell",
"use_atkspd": true,
"display": "Total Damage",
"parts": [
{
@ -11323,11 +11302,7 @@ const atrees = {
{
"type": "replace_spell",
"name": "Jasmine Bloom",
"cost": 0,
"base_spell": 7,
"spell_type": "damage",
"scaling": "spell",
"use_atkspd": true,
"display": "Per Hit",
"parts": [
{
@ -11425,4 +11400,4 @@ const atrees = {
]
}
]
}
}

File diff suppressed because one or more lines are too long