summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-04 01:54:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-04 01:54:56 +0000
commit66ea41fff413837ec15eb47f65474eacf9318e5f (patch)
treecf3c02b8c7ce7734e6a61baa5726036612869771 /src/map/atcommand.c
parent4dfeedcc9d112d1e86b2dac932ee1b6700223427 (diff)
downloadhercules-66ea41fff413837ec15eb47f65474eacf9318e5f.tar.gz
hercules-66ea41fff413837ec15eb47f65474eacf9318e5f.tar.bz2
hercules-66ea41fff413837ec15eb47f65474eacf9318e5f.tar.xz
hercules-66ea41fff413837ec15eb47f65474eacf9318e5f.zip
- The rate passed to status_change_start must now be in 0->10000 range.
- Added macros sc_start and sc_start4 to simplify invocation of status_change_start. - Cleaned the active guild skills, requirements moved to skill_check_require, should now be usable by non-players as well (pets/mobs). - Updated skill_cast_db time info. Magnum's time2 is skill-block time, St. Recovery/ Cure's time2 is the confuse/blind duration, added NPC_POWERUP/NPC_AGIUP durations, Napalm Vulcan's time2 is curse length, and most of Tarot Card's effects last time2 as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5454 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 95d1efc54..b30438975 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -8383,7 +8383,7 @@ int atcommand_mute(
clif_GM_silence(sd, pl_sd, 0);
pl_sd->status.manner -= manner;
if(pl_sd->status.manner < 0)
- status_change_start(&pl_sd->bl,SC_NOCHAT,100,0,0,0,0,0,0);
+ sc_start(&pl_sd->bl,SC_NOCHAT,100,0,0);
}
else {
clif_displaymessage(fd, msg_table[3]); // Character not found.
@@ -9478,7 +9478,7 @@ static int atcommand_mutearea_sub(struct block_list *bl,va_list ap)
if (id != bl->id && !pc_isGM(pl_sd)) {
pl_sd->status.manner -= time;
if (pl_sd->status.manner < 0)
- status_change_start(&pl_sd->bl,SC_NOCHAT,100,0,0,0,0,0,0);
+ sc_start(&pl_sd->bl,SC_NOCHAT,100,0,0);
}
return 0;
}