diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-02 14:27:17 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-02 14:27:17 +0000 |
commit | f49effe3403a77b3fb69078465a2906836547041 (patch) | |
tree | 7073c6a028721f9edae7ecd126344a3440f007d5 /src/map/battle.c | |
parent | 9575f26807e2e508af9108d3c69c0e332a7f61cc (diff) | |
download | hercules-f49effe3403a77b3fb69078465a2906836547041.tar.gz hercules-f49effe3403a77b3fb69078465a2906836547041.tar.bz2 hercules-f49effe3403a77b3fb69078465a2906836547041.tar.xz hercules-f49effe3403a77b3fb69078465a2906836547041.zip |
- Updated battle_check_target so that all alchemist summoned mobs can be target by everyone.
- Cleaned up skill_check_condition_mob_master_sub, it will now count both total number of summoned mobs and amount that belong to the same type.
- Corrected AM_CANNIBALIZE so it will fail if you already have plants of another type out.
- Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
- Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now Volcano/Deluge/V. Gale will get that funky icon instead.
- Changed clif_hominfo to receive both sd and hd as parameters
- Some redundancy cleaning in mercenary.c
- Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8048 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index ea7bd0d5e..cffec76cb 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3153,8 +3153,8 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f return -1; //Cannot be targeted yet. break; case BL_MOB: - if (((TBL_MOB*)target)->special_state.ai == 2) - { //Mines are sort of universal enemies. + if (((TBL_MOB*)target)->special_state.ai > 1) + { //Alchemist summoned mobs are sort of universal enemies. state |= BCT_ENEMY; strip_enemy = 0; } |