diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-17 07:38:10 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-17 07:38:10 +0000 |
commit | 6aa1ac3bede23b22ca1a8919818f226225c21165 (patch) | |
tree | e136085d0b840eae7d98f1f56862926b2ea93caf /src/map/mob.c | |
parent | 2afa19f37c9977e00f4b0b745ea1bc72ef3e5d5a (diff) | |
download | hercules-6aa1ac3bede23b22ca1a8919818f226225c21165.tar.gz hercules-6aa1ac3bede23b22ca1a8919818f226225c21165.tar.bz2 hercules-6aa1ac3bede23b22ca1a8919818f226225c21165.tar.xz hercules-6aa1ac3bede23b22ca1a8919818f226225c21165.zip |
- Fixed NPC_INVISIBLE's cloak ending after attacking once.
- Fixed SG_FUSION being castable without Soul Link state.
- Moved the item-use restriction SC checks from clif.c to pc_use_item, fixed Gravitation blocking potion usage on it's area of effect.
- Sphere Marines and Summoned Flora are now inmune to class-changing.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8782 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 8ee1970b7..73446d349 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2284,6 +2284,9 @@ int mob_class_change (struct mob_data *md, int class_) if (md->class_ >= 1324 && md->class_ <= 1363) return 0; //Treasure Boxes + if (md->special_state.ai > 1) + return 0; //Marine Spheres and Floras. + if (mob_is_clone(md->class_)) return 0; //Clones |