summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-06-04 18:40:56 +0530
committerHaru <haru@dotalux.com>2015-06-12 16:22:47 +0200
commit36caa6f79e26fd8193b1efcf925ef637397f37cf (patch)
treeecb4ddbe56c48876f6528d2780d3362c4b2e52d1 /src/map/status.c
parent64dfaf2c8c8be7ff288ea88a64eddfeae1e364a4 (diff)
downloadhercules-36caa6f79e26fd8193b1efcf925ef637397f37cf.tar.gz
hercules-36caa6f79e26fd8193b1efcf925ef637397f37cf.tar.bz2
hercules-36caa6f79e26fd8193b1efcf925ef637397f37cf.tar.xz
hercules-36caa6f79e26fd8193b1efcf925ef637397f37cf.zip
RC_Player, RC_DemiPlayer, RC_NonPlayer, RC_NonDemiPlayer, RC_All and Ele_All implemented
(ref:Herc@9d1fe3cd3855bb973c55bdf98909c25bb80ee97a)
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 299b732ff..fd75ef81c 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2222,7 +2222,7 @@ int status_calc_pc_(struct map_session_data* sd, enum e_status_calc_opt opt) {
}
bstatus->aspd_rate = 1000;
bstatus->ele_lv = 1;
- bstatus->race = RC_DEMIHUMAN;
+ bstatus->race = RC_PLAYER;
// Autobonus
pc->delautobonus(sd,sd->autobonus,ARRAYLENGTH(sd->autobonus),true);
@@ -3032,7 +3032,7 @@ int status_calc_npc_(struct npc_data *nd, enum e_status_calc_opt opt) {
nstatus->def_ele = ELE_NEUTRAL;
nstatus->ele_lv = 1;
- nstatus->race = RC_DEMIHUMAN;
+ nstatus->race = RC_PLAYER;
nstatus->size = nd->size;
nstatus->rhw.range = 1 + nstatus->size;
nstatus->mode = (MD_CANMOVE|MD_CANATTACK);