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/map.h | |
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/map.h')
-rw-r--r-- | src/map/map.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/map.h b/src/map/map.h index ce26686e5..1d8790795 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -423,7 +423,6 @@ struct map_session_data { unsigned skill_flag : 1;
unsigned gangsterparadise : 1;
unsigned rest : 1;
- unsigned produce_flag : 1;
unsigned storage_flag : 2; //0: closed, 1: Normal Storage open, 2: guild storage open [Skotlex]
unsigned snovice_flag : 4;
// originally by Qamera, adapted by celest
@@ -515,6 +514,7 @@ struct map_session_data { int skilltarget;
short skillx,skilly;
short skillid,skilllv;
+
short skillitem,skillitemlv;
short skillid_old,skilllv_old;
short skillid_dance,skilllv_dance;
@@ -525,7 +525,7 @@ struct map_session_data { //unsigned int skillstatictimer[MAX_SKILL];
unsigned short timerskill_count; // [celest]
int cloneskill_id;
- int repair_target;
+ int menuskill_id, menuskill_lv;
int invincible_timer;
unsigned int canact_tick;
@@ -709,7 +709,6 @@ struct map_session_data { int m; //-1 - none, other: map index corresponding to map name.
unsigned short index; //map index
}feel_map[3];// 0 - Sun; 1 - Moon; 2 - Stars
- int feel_level;
short hate_mob[3];
unsigned int pvp_timer;
|