summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-03 19:22:24 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:22:14 +0200
commit7bc9190ea332ff88d7c6f4ef46c6a618d48c9cb8 (patch)
treedd1939f82e420b3bb3d8a592da03f52b0cb4b109 /src/map/status.c
parent15030cc995b0b6ae0e48fec59b016ecac60ed4fb (diff)
downloadhercules-7bc9190ea332ff88d7c6f4ef46c6a618d48c9cb8.tar.gz
hercules-7bc9190ea332ff88d7c6f4ef46c6a618d48c9cb8.tar.bz2
hercules-7bc9190ea332ff88d7c6f4ef46c6a618d48c9cb8.tar.xz
hercules-7bc9190ea332ff88d7c6f4ef46c6a618d48c9cb8.zip
Summoner should be Small Size and Brute Race.
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 ca1d6249d..d6aecdbd7 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2404,7 +2404,7 @@ int status_calc_pc_(struct map_session_data* sd, enum e_status_calc_opt opt)
//Give them all modes except these (useful for clones)
bstatus->mode = MD_MASK&~(MD_BOSS|MD_PLANT|MD_DETECTOR|MD_ANGRY|MD_TARGETWEAK);
- bstatus->size = (sd->class_&JOBL_BABY)?SZ_SMALL:SZ_MEDIUM;
+ bstatus->size = (sd->class_&JOBL_BABY || (sd->class_&MAPID_BASEMASK) == MAPID_SUMMONER)?SZ_SMALL:SZ_MEDIUM;
if (battle_config.character_size && (pc_isridingpeco(sd) || pc_isridingdragon(sd))) { //[Lupus]
if (sd->class_&JOBL_BABY) {
if (battle_config.character_size&SZ_BIG)
@@ -2416,7 +2416,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_PLAYER;
+ bstatus->race = ((sd->class_&MAPID_BASEMASK) == MAPID_SUMMONER)?RC_BRUTE:RC_PLAYER;
// Autobonus
pc->delautobonus(sd,sd->autobonus,ARRAYLENGTH(sd->autobonus),true);