summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-23 09:46:19 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-23 09:46:19 +0000
commit484befb98681e8cd75b67936398a7a1514c70ca9 (patch)
tree1e3a6cbc2edac7bc0363b65dbd9262f4f547034e
parent0184004cacce57c32c7d06dfa24e0a703de76554 (diff)
downloadhercules-484befb98681e8cd75b67936398a7a1514c70ca9.tar.gz
hercules-484befb98681e8cd75b67936398a7a1514c70ca9.tar.bz2
hercules-484befb98681e8cd75b67936398a7a1514c70ca9.tar.xz
hercules-484befb98681e8cd75b67936398a7a1514c70ca9.zip
Fixed Super Novices mentral strength so that they may ressurect in gvg maps w/o being kicked out. bugreport:1988
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15781 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/pc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index ca9fbf4f2..0e6fb2f0e 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6226,8 +6226,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
{
unsigned int next = pc_nextbaseexp(sd);
if( next == 0 ) next = pc_thisbaseexp(sd);
- if( get_percentage(sd->status.base_exp,next) >= 99 && !map_flag_gvg(sd->bl.m) )
- {
+ if( get_percentage(sd->status.base_exp,next) >= 99 ) {
sd->state.snovice_dead_flag = 1;
pc_setstand(sd);
status_percent_heal(&sd->bl, 100, 100);