From e8ab2885e6c07cdff08e66b55ac6bf5572e39402 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 7 Mar 2008 15:02:32 +0000 Subject: - 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 --- src/map/battle.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/battle.h') diff --git a/src/map/battle.h b/src/map/battle.h index 042b83cda..9c7bd2fb0 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -383,6 +383,8 @@ extern struct Battle_Config int dynamic_mobs; // Dynamic Mobs [Wizputer] - battle_athena flag implemented by [random] int mob_remove_damaged; // Dynamic Mobs - Remove mobs even if damaged [Wizputer] int mob_remove_delay; // Dynamic Mobs - delay before removing mobs from a map [Skotlex] + int mob_active_time; //Duration through which mobs execute their Hard AI after players leave their area of sight. + int boss_active_time; int show_hp_sp_drain, show_hp_sp_gain; //[Skotlex] -- cgit v1.2.3-60-g2f50