diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-01 19:14:28 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-01 19:14:28 +0000 |
commit | bf07760665f25b3a80af93c7bc68427c1f77349c (patch) | |
tree | 5db4a28757064dfd690ab3c9955abb3b97d6991f /src/map/mob.c | |
parent | 16e98db60869923981239814297888b46a425c7c (diff) | |
download | hercules-bf07760665f25b3a80af93c7bc68427c1f77349c.tar.gz hercules-bf07760665f25b3a80af93c7bc68427c1f77349c.tar.bz2 hercules-bf07760665f25b3a80af93c7bc68427c1f77349c.tar.xz hercules-bf07760665f25b3a80af93c7bc68427c1f77349c.zip |
- Trick Dead makes you stop walking now.
- Falcon Assault only does 1 hit now.
- Soul Burn is not affected by Lex Aeterna, not affected by target's cards.
- Freeze and Stone take preference over Benedictio
- Opt1 inducing SCs fail if the target has already another Opt1
- Fixed areamonster when the passed class is negative
- Removed the clear screen when launching the server.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5156 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index a1cbeac41..25806b76b 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -287,7 +287,7 @@ int mob_once_spawn_area(struct map_session_data *sd,char *mapname, max=(y1-y0+1)*(x1-x0+1)*3;
if(max>1000)max=1000;
- if(m<0 || amount<=0 || mob_db(class_) == mob_dummy) // A summon is stopped if a value is unusual
+ if (m < 0 || amount <= 0 || (class_ >= 0 && class_ <= 1000) || class_ > MAX_MOB_DB + 2*MAX_MOB_DB) // 値が異常なら召喚を止める
return 0;
for(i=0;i<amount;i++){
|