diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-29 22:12:02 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-29 22:12:02 +0000 |
commit | 863e194ec315b6b45dd0862654359a8f6283f699 (patch) | |
tree | 99662576d7388cb4a4e4554fcb94bfb418e20f3f | |
parent | 9ca5a2f41fd3f621564beaae0f84abbaade7bab4 (diff) | |
download | hercules-863e194ec315b6b45dd0862654359a8f6283f699.tar.gz hercules-863e194ec315b6b45dd0862654359a8f6283f699.tar.bz2 hercules-863e194ec315b6b45dd0862654359a8f6283f699.tar.xz hercules-863e194ec315b6b45dd0862654359a8f6283f699.zip |
Made the emperium changes from r15321 restricted to renewal mode
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15327 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/status.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index b7ad490f2..ebdbd9370 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1824,8 +1824,13 @@ int status_calc_mob_(struct mob_data* md, bool first) ShowError("status_calc_mob: No castle set at map %s\n", map[md->bl.m].name); else if(gc->castle_id < 24 || md->class_ == MOBID_EMPERIUM) { +#if REMODE status->max_hp += 50 * gc->defense; status->max_sp += 70 * gc->defense; +#else + status->max_hp += 1000 * gc->defense; + status->max_sp += 200 * gc->defense; +#endif status->hp = status->max_hp; status->sp = status->max_sp; status->def += (gc->defense+2)/3; |