diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-08-18 19:24:27 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-08-18 19:24:27 +0000 |
commit | 480fd5dec044c10579f0e9b5b24ce92a5b38fc7d (patch) | |
tree | 7255c561a69e2f7055c5b88b352d79df56bbbc38 /src/map/pc.h | |
parent | c024c27068518fef269dc9dbe5c1d01a0b50d963 (diff) | |
download | hercules-480fd5dec044c10579f0e9b5b24ce92a5b38fc7d.tar.gz hercules-480fd5dec044c10579f0e9b5b24ce92a5b38fc7d.tar.bz2 hercules-480fd5dec044c10579f0e9b5b24ce92a5b38fc7d.tar.xz hercules-480fd5dec044c10579f0e9b5b24ce92a5b38fc7d.zip |
* Added bonus3 bAdd/SubEle, which allows you to specify a battle flag as well! Dun dun dun!
- The bonuses are addititive to existing bAdd/SubEles, as that's how it appears to work.
- Updated Asprika to use new bonus3 bSubEle.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14381 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 65d21739a..1328e9367 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -44,6 +44,11 @@ struct weapon_data { struct { short class_, rate; } add_dmg[MAX_PC_BONUS]; + + struct { + short flag, rate; + unsigned char ele; + } addele2[MAX_PC_BONUS]; }; struct s_autospell { @@ -250,6 +255,10 @@ struct map_session_data { int nameid; int rate; } itemhealrate[MAX_PC_BONUS]; + struct { + short flag, rate; + unsigned char ele; + } subele2[MAX_PC_BONUS]; // zeroed structures end here // manually zeroed structures start here. struct s_autobonus autobonus[MAX_PC_BONUS], autobonus2[MAX_PC_BONUS], autobonus3[MAX_PC_BONUS]; //Auto script on attack, when attacked, on skill usage |