summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-04 02:52:38 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-04 02:52:38 +0000
commitbdb423140e5779fae596257d24665762e33f1bdd (patch)
tree6e28f5c512f1a0da159e9e1205541a644f7cce49 /src/map/skill.c
parent8696a156589a80dffa658458b9a72d90d7de101f (diff)
downloadhercules-bdb423140e5779fae596257d24665762e33f1bdd.tar.gz
hercules-bdb423140e5779fae596257d24665762e33f1bdd.tar.bz2
hercules-bdb423140e5779fae596257d24665762e33f1bdd.tar.xz
hercules-bdb423140e5779fae596257d24665762e33f1bdd.zip
Bug fixes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@444 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 4442ac81c..8f711fd57 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8891,7 +8891,11 @@ int skill_status_change_timer(int tid, unsigned int tick, int id, int data)
case SC_ENDURE: /* インデュア */
case SC_AUTOBERSERK: // Celest
if(sd && sd->special_state.infinite_endure) {
+#ifdef TWILIGHT
+ sc_data[type].timer=add_timer( 1000*600+tick,skill_status_change_timer, bl->id, data );
+#else
sc_data[type].timer=add_timer( 1000*60+tick,skill_status_change_timer, bl->id, data );
+#endif
//sc_data[type].val2=1;
return 0;
}