diff --git a/db/pre-re/skill_db.yml b/db/pre-re/skill_db.yml index 1ce161b9aa..2827b70d66 100644 --- a/db/pre-re/skill_db.yml +++ b/db/pre-re/skill_db.yml @@ -27958,6 +27958,7 @@ Body: Ammo: Bullet: true AmmoAmount: 1 + SpiritSphereCost: -1 Equipment: Silver_Bullet: true - Id: 2564 @@ -28130,6 +28131,7 @@ Body: Time: 80000 Requires: SpCost: 30 + SpiritSphereCost: -1 - Id: 2569 Name: RL_AM_BLAST Description: Anti-Material Blast @@ -28256,6 +28258,7 @@ Body: Amount: 55 Weapon: Rifle: true + SpiritSphereCost: -1 - Id: 2572 Name: RL_R_TRIP_PLUSATK Description: Round Trip Plus Attack diff --git a/db/re/skill_db.yml b/db/re/skill_db.yml index d6f3c9f398..d10a632f38 100644 --- a/db/re/skill_db.yml +++ b/db/re/skill_db.yml @@ -29287,6 +29287,7 @@ Body: Ammo: Bullet: true AmmoAmount: 1 + SpiritSphereCost: -1 Equipment: Silver_Bullet: true Sanctified_Bullet: true @@ -29468,6 +29469,7 @@ Body: FixedCastTime: -1 Requires: SpCost: 30 + SpiritSphereCost: -1 - Id: 2569 Name: RL_AM_BLAST Description: Anti-Material Blast @@ -29599,6 +29601,7 @@ Body: Amount: 55 Weapon: Rifle: true + SpiritSphereCost: -1 - Id: 2572 Name: RL_R_TRIP_PLUSATK Description: Round Trip Plus Attack diff --git a/src/tool/csv2yaml.cpp b/src/tool/csv2yaml.cpp index 6e77c1e693..6dcf2b5f5e 100644 --- a/src/tool/csv2yaml.cpp +++ b/src/tool/csv2yaml.cpp @@ -2203,14 +2203,14 @@ static bool skill_parse_row_skilldb(char* split[], int columns, int current) { } if (!isMultiLevel(it_req->second.spiritball)) { - if (it_req->second.spiritball[0] > 0) + if (it_req->second.spiritball[0] != 0) body << YAML::Key << "SpiritSphereCost" << YAML::Value << it_req->second.spiritball[0]; } else { body << YAML::Key << "SpiritSphereCost"; body << YAML::BeginSeq; for (size_t i = 0; i < ARRAYLENGTH(it_req->second.spiritball); i++) { - if (it_req->second.spiritball[i] > 0) { + if (it_req->second.spiritball[i] != 0) { body << YAML::BeginMap; body << YAML::Key << "Level" << YAML::Value << i + 1; body << YAML::Key << "Amount" << YAML::Value << it_req->second.spiritball[i];