summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-24 01:16:33 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-24 01:16:33 +0000
commit9694f77616b2f127bcde59d49cc7e3cad832d0b3 (patch)
treefad4e5b61e2492cd5988c79d686f9812812d600a /src/map/pc.c
parentc2697bf53b8f72db25c8a7aa03c2297b17cf7bc5 (diff)
downloadhercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.tar.gz
hercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.tar.bz2
hercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.tar.xz
hercules-9694f77616b2f127bcde59d49cc7e3cad832d0b3.zip
- Player-summoned mobs won't level up now.
- Fixed Super Novice explosion spirits triggering no matter what you said on the third line. It now triggers on the fourth line.... - Fixed GTB blocking targetted spells when gtb_pvp_only was set. - Merged the code of Ankle snare and Spider web. It no longer moves target if sc failed. - Players should stop walking as soon as they start vending or get into a chat. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5382 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index fd52944be..37834ab10 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5510,7 +5510,7 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage)
}
if(battle_config.mobs_level_up && md && md->state.state!=MS_DEAD &&
md->level < pc_maxbaselv(sd) &&
- !md->guardian_data // Guardians should not level. [Skotlex]
+ !md->guardian_data && !md->special_state.ai// Guardians/summons should not level. [Skotlex]
) { // monster level up [Valaris]
clif_misceffect(&md->bl,0);
md->level++;