diff options
author | shennetsind <notind@gmail.com> | 2013-09-28 04:23:56 -0700 |
---|---|---|
committer | shennetsind <notind@gmail.com> | 2013-09-28 04:23:56 -0700 |
commit | 71af4a3caa5c09d38fc6ea99ca3ca3bc3cc280ce (patch) | |
tree | 2c46f0a5ac28f67931433de0f3b18dd0aa6e7d73 /src/map/status.c | |
parent | 346ea5f138e5baee36cf1e986c12fff84277f4ca (diff) | |
parent | 7d8f83d8ff360df4c2b960933c015117eb9d776b (diff) | |
download | hercules-71af4a3caa5c09d38fc6ea99ca3ca3bc3cc280ce.tar.gz hercules-71af4a3caa5c09d38fc6ea99ca3ca3bc3cc280ce.tar.bz2 hercules-71af4a3caa5c09d38fc6ea99ca3ca3bc3cc280ce.tar.xz hercules-71af4a3caa5c09d38fc6ea99ca3ca3bc3cc280ce.zip |
Merge pull request #161 from shenhuyong/master
Added full support for the Rebellion.
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index d8356264c..0b69ae2ef 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2278,7 +2278,7 @@ static unsigned int status_base_pc_maxhp(struct map_session_data *sd, struct sta uint64 val = pc->class2idx(sd->status.class_); val = 35 + sd->status.base_level*(int64)hp_coefficient2[val]/100 + hp_sigma_val[val][sd->status.base_level]; - if((sd->class_&MAPID_UPPERMASK) == MAPID_NINJA || (sd->class_&MAPID_UPPERMASK) == MAPID_GUNSLINGER) + if((sd->class_&MAPID_UPPERMASK) == MAPID_NINJA || (sd->class_&MAPID_UPPERMASK) == MAPID_GUNSLINGER || (sd->class_&MAPID_UPPERMASK) == MAPID_REBELLION) val += 100; //Since their HP can't be approximated well enough without this. if((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON && sd->status.base_level >= 90 && pc->famerank(sd->status.char_id, MAPID_TAEKWON)) val *= 3; //Triple max HP for top ranking Taekwons over level 90. |