summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-15 15:05:11 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-15 15:05:11 +0000
commit0aac9d598500a6aadabd1cfb0a9904b877bd5393 (patch)
treeae8e37f7b1ad958e344277dce7e6788c09aa480a /src/map/status.c
parent6bec408e8f75856b0bf17577dc1b1df4e22a5257 (diff)
downloadhercules-0aac9d598500a6aadabd1cfb0a9904b877bd5393.tar.gz
hercules-0aac9d598500a6aadabd1cfb0a9904b877bd5393.tar.bz2
hercules-0aac9d598500a6aadabd1cfb0a9904b877bd5393.tar.xz
hercules-0aac9d598500a6aadabd1cfb0a9904b877bd5393.zip
* Manner system fixing
- better-than-aegis 'red bubble' packet updates; now it shows correctly - added support for /rc, which is basically mute for 60 minutes - fixed typo in r12076 making gm-mute start on the gm instead of target - fixed @mute not ending the status properly when using negative values - adde missing clif_manner_message(), sends info about manner updates git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12079 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 4108359d8..ce33bceeb 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5212,7 +5212,11 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
case SC_NOCHAT:
tick = 60000;
val1 = battle_config.manner_system; //Mute filters.
- if (sd) clif_updatestatus(sd,SP_MANNER);
+ if (sd)
+ {
+ clif_changestatus(&sd->bl,SP_MANNER,sd->status.manner);
+ clif_updatestatus(sd,SP_MANNER);
+ }
break;
case SC_STONE:
@@ -6922,6 +6926,7 @@ int status_change_timer(int tid, unsigned int tick, int id, int data)
case SC_NOCHAT:
if(sd){
sd->status.manner++;
+ clif_changestatus(bl,SP_MANNER,sd->status.manner);
clif_updatestatus(sd,SP_MANNER);
if (sd->status.manner < 0)
{ //Every 60 seconds your manner goes up by 1 until it gets back to 0.