Skip to content

Commit

Permalink
Migrated all element constants to source exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemongrass3110 committed Jan 1, 2016
1 parent 2b00879 commit 7565dcc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
12 changes: 0 additions & 12 deletions db/const.txt
Original file line number Diff line number Diff line change
Expand Up @@ -247,18 +247,6 @@ bSubSkill 2077
bSubDefEle 2078
bStateNoRecoverRace 2079

Ele_Neutral 0
Ele_Water 1
Ele_Earth 2
Ele_Fire 3
Ele_Wind 4
Ele_Poison 5
Ele_Holy 6
Ele_Dark 7
Ele_Ghost 8
Ele_Undead 9
Ele_All 10

RC_Formless 0
RC_Undead 1
RC_Brute 2
Expand Down
13 changes: 13 additions & 0 deletions src/map/script_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -2065,6 +2065,19 @@
export_constant(SI_TIME_ACCESSORY);
export_constant(SI_EP16_DEF);

/* elements */
export_constant(ELE_NEUTRAL);
export_constant(ELE_WATER);
export_constant(ELE_EARTH);
export_constant(ELE_FIRE);
export_constant(ELE_WIND);
export_constant(ELE_POISON);
export_constant(ELE_HOLY);
export_constant(ELE_DARK);
export_constant(ELE_GHOST);
export_constant(ELE_UNDEAD);
export_constant(ELE_ALL);

/* status options */
export_constant(OPTION_NOTHING);
export_constant(OPTION_SIGHT);
Expand Down

0 comments on commit 7565dcc

Please sign in to comment.