diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-23 18:41:56 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-23 18:41:56 +0000 |
commit | eb0a137041d3a5ee6385762b8374e98b3867d5a0 (patch) | |
tree | f11f4036af32507c0e6bbc92b55d17d07f4e3692 /src/map/skill.c | |
parent | 9157078e09096898afee0c9be17737df72bebaee (diff) | |
download | hercules-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/skill.c')
-rw-r--r-- | src/map/skill.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; |