diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-17 15:43:40 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-17 15:43:40 +0000 |
commit | 94e745cce4166dea9b34b617cf66b14cfa1faab1 (patch) | |
tree | f7c86a380249e7eb197297026e211014a3a24bae /src/map/pc.h | |
parent | d5afc60338c63c69ca26211131d98986b6b5ca82 (diff) | |
download | hercules-94e745cce4166dea9b34b617cf66b14cfa1faab1.tar.gz hercules-94e745cce4166dea9b34b617cf66b14cfa1faab1.tar.bz2 hercules-94e745cce4166dea9b34b617cf66b14cfa1faab1.tar.xz hercules-94e745cce4166dea9b34b617cf66b14cfa1faab1.zip |
- Expanded the autospell structure to hold a flag, which contains the required Battle Flag conditions required for a skill to trigger.
- Added the required constants to const.txt to specify the autospell trigger properties.
- Added bonus5 bAutoSpell/bAutoSpellWhenHit. The new parameter is used to specify when the spell should trigger (melee/range + weapon/magic/misc attack), see item_bonus for details.
- Applied use of packet 0x28a (clif_changeoption2) to transmit opt3 changes.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10278 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index dc6be203d..a0302cad0 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -165,6 +165,7 @@ int pc_bonus(struct map_session_data*,int,int); int pc_bonus2(struct map_session_data *sd,int,int,int); int pc_bonus3(struct map_session_data *sd,int,int,int,int); int pc_bonus4(struct map_session_data *sd,int,int,int,int,int); +int pc_bonus5(struct map_session_data *sd,int,int,int,int,int,int); int pc_skill(struct map_session_data* sd, int id, int level, int flag); int pc_insert_card(struct map_session_data *sd,int idx_card,int idx_equip); |