summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-23 18:41:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-23 18:41:56 +0000
commiteb0a137041d3a5ee6385762b8374e98b3867d5a0 (patch)
treef11f4036af32507c0e6bbc92b55d17d07f4e3692 /src/map/unit.c
parent9157078e09096898afee0c9be17737df72bebaee (diff)
downloadhercules-eb0a137041d3a5ee6385762b8374e98b3867d5a0.tar.gz
hercules-eb0a137041d3a5ee6385762b8374e98b3867d5a0.tar.bz2
hercules-eb0a137041d3a5ee6385762b8374e98b3867d5a0.tar.xz
hercules-eb0a137041d3a5ee6385762b8374e98b3867d5a0.zip
- Minor cleanups
- Adjusted menu-based skills so you can't reuse the same skill until you've dealt with the menu. - Adjust autospells so that removing an autospell works when the script of the card that removes the autospell is triggered before the script that adds the spell. - The "requested name of gm-hidden char" warning will not be displayed when the object in question is an NPC (since you can use Intravision to do this). - Corrected the header format for invisible npcs. - Venom Knife no longer takes into accounts cards or EDP. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9905 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 79dcd3a80..984867cfe 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -809,6 +809,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, int skill_num, int
//Target_id checking.
if(skillnotok(skill_num, sd)) // [MouseJstr]
return 0;
+
switch(skill_num)
{ //Check for skills that auto-select target
case MO_CHAINCOMBO: