diff options
author | Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-30 08:16:31 +0000 |
---|---|---|
committer | Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-30 08:16:31 +0000 |
commit | ade714d129fe396f32009bcb7845b6c06e4e5398 (patch) | |
tree | a2cf79063d6281f40501719fd745e73451c446ed /src/map/map.h | |
parent | 102c2281c2eff9b87c4b6c4f78f3113e989d400d (diff) | |
download | hercules-ade714d129fe396f32009bcb7845b6c06e4e5398.tar.gz hercules-ade714d129fe396f32009bcb7845b6c06e4e5398.tar.bz2 hercules-ade714d129fe396f32009bcb7845b6c06e4e5398.tar.xz hercules-ade714d129fe396f32009bcb7845b6c06e4e5398.zip |
Implemented bonus2 bSPVanishRate for Dark Priest Card - it isn't finished - I get '[Warning]: pc_bonus2: unknown type 0 50 10!' ~.~
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5109 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h index c56e4c886..26e5875f4 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -341,6 +341,7 @@ struct weapon_data { short sp_drain_rate;
short sp_drain_per;
short sp_drain_value;
+
short add_damage_classid[MAX_PC_BONUS];
int add_damage_classrate[MAX_PC_BONUS];
int add_damage_class_count;
@@ -623,6 +624,8 @@ struct map_session_data { short hp_loss_type;
short sp_drain_type;
short sp_gain_value, hp_gain_value;
+ short sp_vanish_rate;
+ short sp_vanish_per;
short add_drop_count;
unsigned short unbreakable; // chance to prevent ANY equipment breaking [celest]
unsigned short unbreakable_equip; //100% break resistance on certain equipment
@@ -1100,7 +1103,7 @@ enum { 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 //2041
+ SP_ADD_SKILL_BLOW, SP_SP_VANISH_RATE //2041
};
enum {
|