diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-29 12:20:43 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-29 12:20:43 +0000 |
commit | 963beba0da94d8b4e3d4175599c570a0b1d77ad2 (patch) | |
tree | 0cd50931653f23d097fb3eef69151948bfcade07 /src/map/pc.h | |
parent | d4f105021aa5678c771b2a6b72ab50baa61799ce (diff) | |
download | hercules-963beba0da94d8b4e3d4175599c570a0b1d77ad2.tar.gz hercules-963beba0da94d8b4e3d4175599c570a0b1d77ad2.tar.bz2 hercules-963beba0da94d8b4e3d4175599c570a0b1d77ad2.tar.xz hercules-963beba0da94d8b4e3d4175599c570a0b1d77ad2.zip |
- Integrated the SG related info of hate_mob and feel_map into a single structure (sg_info).
- Modified skill_blown and skill_attack so that reflected spells do not cause knockback.
- SG Blessing skills now grant the extra experience to everyone when the SG killed the mob.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11840 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 1af042b6e..6e76115d6 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -304,6 +304,16 @@ struct skill_tree_entry { }; // Celest extern struct skill_tree_entry skill_tree[CLASS_COUNT][MAX_SKILL_TREE]; +struct sg_data { + short anger_id; + short bless_id; + short comfort_id; + char feel_var[NAME_LENGTH]; + char hate_var[NAME_LENGTH]; + int (*day_func)(void); +}; +extern const struct sg_data sg_info[3]; + int pc_read_gm_account(int fd); void pc_setinvincibletimer(struct map_session_data* sd, int val); void pc_delinvincibletimer(struct map_session_data* sd); |