diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-20 23:24:20 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-20 23:24:20 +0000 |
commit | 8cd804f247a2d36ff8dc69d09a1004f5ec84197a (patch) | |
tree | 88c4f726d6a9fea3d3a13032db4bb1b850a2ddee /src/map/map.h | |
parent | a09e5436e06f844688f708c23975d3ce7e4b3965 (diff) | |
download | hercules-8cd804f247a2d36ff8dc69d09a1004f5ec84197a.tar.gz hercules-8cd804f247a2d36ff8dc69d09a1004f5ec84197a.tar.bz2 hercules-8cd804f247a2d36ff8dc69d09a1004f5ec84197a.tar.xz hercules-8cd804f247a2d36ff8dc69d09a1004f5ec84197a.zip |
- Added two columns to item_db: equip_script and unequip_script are scripts that are executed once when the corresponding item is equipped or unequipped respectively.
- Removed bonuses bDamageWhenUnequip, bLoseSPWhenUnequip
- Updated sql-files/item_db.sql with latest.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6204 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 1c6c8214b..0a7ee5f90 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -603,8 +603,6 @@ struct map_session_data { int addeff3[SC_COMMON_MAX-SC_COMMON_MIN+1];
short addeff3_type[SC_COMMON_MAX-SC_COMMON_MIN+1];
short sp_gain_race[12];
- short unequip_losehp[11];
- short unequip_losesp[11];
// zeroed arrays end here.
// zeroed structures start here
struct s_autospell{
@@ -1116,11 +1114,12 @@ enum { SP_CRIT_ATK_RATE, SP_CRITICAL_ADDRACE, SP_NO_REGEN, SP_ADDEFF_WHENHIT, SP_AUTOSPELL_WHENHIT, // 2013-2017
SP_SKILL_ATK, SP_UNSTRIPABLE, SP_ADD_DAMAGE_BY_CLASS, // 2018-2020
SP_SP_GAIN_VALUE, SP_IGNORE_DEF_MOB, SP_HP_LOSS_RATE, SP_ADDRACE2, SP_HP_GAIN_VALUE, // 2021-2025
- SP_SUBSIZE, SP_DAMAGE_WHEN_UNEQUIP, SP_ADD_ITEM_HEAL_RATE, SP_LOSESP_WHEN_UNEQUIP, SP_EXP_ADDRACE, // 2026-2030
+ SP_SUBSIZE, SP_FREE, SP_ADD_ITEM_HEAL_RATE, SP_FREE2, SP_EXP_ADDRACE, // 2026-2030
SP_SP_GAIN_RACE, SP_SUBRACE2, SP_ADDEFF_WHENHIT_SHORT, // 2031-2033
SP_UNSTRIPABLE_WEAPON,SP_UNSTRIPABLE_ARMOR,SP_UNSTRIPABLE_HELM,SP_UNSTRIPABLE_SHIELD, // 2034-2037
SP_INTRAVISION, SP_ADD_MONSTER_DROP_ITEMGROUP, SP_SP_LOSS_RATE, // 2038-2040
SP_ADD_SKILL_BLOW, SP_SP_VANISH_RATE //2041
+ //Before you add more here, notice that 2027&2029 are available.
};
enum {
|