summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorlordttseven <lordttseven@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-15 10:30:42 +0000
committerlordttseven <lordttseven@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-15 10:30:42 +0000
commitdaeecf3bd0bdb54f43f8aedee98a7c8c68a56992 (patch)
tree4d57bf55bb3f936bf97ac92402627e90ed1bdd40 /src/map/skill.c
parent55984b91c03d25e7a6cae535043cd49815cf9e24 (diff)
downloadhercules-daeecf3bd0bdb54f43f8aedee98a7c8c68a56992.tar.gz
hercules-daeecf3bd0bdb54f43f8aedee98a7c8c68a56992.tar.bz2
hercules-daeecf3bd0bdb54f43f8aedee98a7c8c68a56992.tar.xz
hercules-daeecf3bd0bdb54f43f8aedee98a7c8c68a56992.zip
Status change packet cleanup
* fixed a couple typos * replaced duplicate function clif_status_load with a macro * normalized and documented status change table related getter abstraction * put some checks that were previously in multiple places into clif_status_change * packets are now used as they are on official servers: - ZC_MSG_STATE_CHANGE for ending statuses and starting them on non-pcs - ZC_MSG_STATE_CHANGE2 for starting *all* statuses on players - tick = 9999 for statuses of indeterminate duration - for non-pc units, a packet is only sent if it has a visual impact on the client; if you notice any missing visual effects, please report them! * fixed hidden GM characters leaking certain status packets * fixed hidden GM characters not displaying timers for newly gained statuses * fixed status end packet never being sent for non-pc, non-mercenary units * fixed SC_CLOAKING displaying a time bar on the client * fixed tick being an unsigned int, yet used as a signed int * removed hard-coded status length exceptions in clif_status_change git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15688 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 1f18d2474..cd7743789 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2737,7 +2737,7 @@ int skill_guildaura_sub (struct map_session_data* sd, int id, int strvit, int ag
if( sce->val3 != strvit || sce->val4 != agidex ) {
sce->val3 = strvit;
sce->val4 = agidex;
- status_calc_bl(&sd->bl, StatusChangeFlagTable[SC_GUILDAURA]);
+ status_calc_bl(&sd->bl, status_sc2scb_flag(SC_GUILDAURA));
}
return 0;
}