From eb0a137041d3a5ee6385762b8374e98b3867d5a0 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 23 Feb 2007 18:41:56 +0000 Subject: - 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 --- src/map/skill.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index e70aa222e..8a46abe2a 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -851,9 +851,6 @@ int skillnotok (int skillid, struct map_session_data *sd) if (battle_config.gm_skilluncond && pc_isGM(sd) >= battle_config.gm_skilluncond) return 0; // gm's can do anything damn thing they want - if(sd->menuskill_id && skillid != sd->menuskill_id) - return 1; //Can't use skills while a menu is open. - // Check skill restrictions [Celest] if(!map_flag_vs(m) && skill_get_nocast (skillid) & 1) return 1; -- cgit v1.2.3-70-g09d2