Converted elemental_db to YAML (#6102)

* Converts the Elemental Summons Tables file into YAML.
* Includes CSV2YAML converter.

Thanks to @Lemongrass3110, @aleos89, @secretdataz !
This commit is contained in:
Atemo
2021-11-26 00:53:35 +01:00
committed by GitHub
parent ae1135dd2b
commit a205287307
26 changed files with 1067 additions and 383 deletions

View File

@@ -6166,7 +6166,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, uint
case EL_TIDAL_WEAPON:
if( src->type == BL_ELEM ) {
struct elemental_data *ele = BL_CAST(BL_ELEM,src);
s_elemental_data *ele = BL_CAST(BL_ELEM,src);
struct status_change *tsc_ele = status_get_sc(&ele->bl);
sc_type type = status_skill2sc(skill_id), type2;
@@ -11010,7 +11010,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
case SO_EL_CURE:
if( sd ) {
struct elemental_data *ed = sd->ed;
s_elemental_data *ed = sd->ed;
int s_hp, s_sp;
if( !ed )
@@ -11145,7 +11145,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
case EL_SOLID_SKIN:
case EL_STONE_SHIELD:
case EL_WIND_STEP: {
struct elemental_data *ele = BL_CAST(BL_ELEM, src);
s_elemental_data *ele = BL_CAST(BL_ELEM, src);
if( ele ) {
sc_type type2 = (sc_type)(type-1);
struct status_change *sc = status_get_sc(&ele->bl);
@@ -11171,7 +11171,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
skill_unitsetting(src,skill_id,skill_lv,bl->x,bl->y,0);
break;
case EL_WATER_SCREEN: {
struct elemental_data *ele = BL_CAST(BL_ELEM, src);
s_elemental_data *ele = BL_CAST(BL_ELEM, src);
if( ele ) {
struct status_change *sc = status_get_sc(&ele->bl);
sc_type type2 = (sc_type)(type-1);