From 480fd5dec044c10579f0e9b5b24ce92a5b38fc7d Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Wed, 18 Aug 2010 19:24:27 +0000 Subject: * 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 --- src/map/pc.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/map/pc.h') 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 -- cgit v1.2.3-60-g2f50