summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-07 15:02:32 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-07 15:02:32 +0000
commite8ab2885e6c07cdff08e66b55ac6bf5572e39402 (patch)
tree252a6f6b5d8b5fe93f18041e8b55b543cde956e1 /src/map/script.c
parent88d795a036a4f954df1987fe3b241964df182a65 (diff)
downloadhercules-e8ab2885e6c07cdff08e66b55ac6bf5572e39402.tar.gz
hercules-e8ab2885e6c07cdff08e66b55ac6bf5572e39402.tar.bz2
hercules-e8ab2885e6c07cdff08e66b55ac6bf5572e39402.tar.xz
hercules-e8ab2885e6c07cdff08e66b55ac6bf5572e39402.zip
- Added config settings mob_active_time and boss_active_time, what they do is specify a duration during which monsters will keep running their active AI after all players have left their vecinity. Their current defaults are set to 0 (disabled).
- Script induced status changes can now be reduced by stats/cards (but only trigger rate is reduced, not duration) - Battle delay timers will now check if the target player has the invincible timer active or not. - Adjusted mob_ai_sub_hard to return a bool indicating whether the AI was executed or not. - Adjusted clif_damage and clif_skill_damage to set the endure type value based on dmotion and damage, rather than hardchecking for SC_ENDURE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12315 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index e0b1db6db..ee5bbbdc5 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8123,7 +8123,7 @@ BUILDIN_FUNC(sc_start)
}
if( bl )
- status_change_start(bl, type, 10000, val1, 0, 0, val4, tick, 1|2|8);
+ status_change_start(bl, type, 10000, val1, 0, 0, val4, tick, 2);
return 0;
}
@@ -8161,7 +8161,7 @@ BUILDIN_FUNC(sc_start2)
}
if( bl )
- status_change_start(bl, type, rate, val1, 0, 0, val4, tick, 1|2|8);
+ status_change_start(bl, type, rate, val1, 0, 0, val4, tick, 2);
return 0;
}
@@ -8202,7 +8202,7 @@ BUILDIN_FUNC(sc_start4)
}
if( bl )
- status_change_start(bl, type, 10000, val1, val2, val3, val4, tick, 1|2|8);
+ status_change_start(bl, type, 10000, val1, val2, val3, val4, tick, 2);
return 0;
}