diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-20 17:34:48 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-20 17:34:48 +0000 |
commit | 307e7428d4b60fe199196ed3da0d0ff93972d6e9 (patch) | |
tree | d1d2a29c53fbe2a3232c7f120bb7d97f94b05567 /src/map/script.c | |
parent | 4e2c773c1e4203b4e9db62c016445e0443dd39ff (diff) | |
download | hercules-307e7428d4b60fe199196ed3da0d0ff93972d6e9.tar.gz hercules-307e7428d4b60fe199196ed3da0d0ff93972d6e9.tar.bz2 hercules-307e7428d4b60fe199196ed3da0d0ff93972d6e9.tar.xz hercules-307e7428d4b60fe199196ed3da0d0ff93972d6e9.zip |
- Added sd variables menuskill_id/menuskill_lv to store menu-based selections. These are used now to check the validity of skill use instead of sd->skillid/sd->skilllv
- Affected skills/packets: AC_MAKINGARROW/ AL_WARP/ AL_TELEPORT/ AM_PHARMACY (all refine functions)/ MC_IDENTIFY/ BS_REPAIRWEAPON/ SA_TAMINGMONSTER/ SA_AUTOSPELL/ WS_WEAPONREFINE/ SG_FEEL
- Removed feel_lv and repair_target variables as now they are handled by the previous two new variables.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5345 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index 6560d3281..34aedaa35 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -5299,9 +5299,8 @@ int buildin_produce(struct script_state *st) int trigger;
struct map_session_data *sd=script_rid2sd(st);
- if( sd->state.produce_flag == 1) return 0;
trigger=conv_num(st,& (st->stack->stack_data[st->start+2]));
- clif_skill_produce_mix_list(sd,trigger);
+ clif_skill_produce_mix_list(sd, trigger);
return 0;
}
/*==========================================
|