summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-02 02:51:34 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-02 02:51:34 +0000
commit53b6e99c8d8e27bfb1d7d22ed32013005b4c7469 (patch)
treeb6c348130ebe8b104188fcfd2d432347962f0445 /src/map/npc.c
parent396001e8663d1fa0f8476f0bad7243317f70ab9d (diff)
downloadhercules-53b6e99c8d8e27bfb1d7d22ed32013005b4c7469.tar.gz
hercules-53b6e99c8d8e27bfb1d7d22ed32013005b4c7469.tar.bz2
hercules-53b6e99c8d8e27bfb1d7d22ed32013005b4c7469.tar.xz
hercules-53b6e99c8d8e27bfb1d7d22ed32013005b4c7469.zip
- Altered status_calc_pc so that equipment scripts are ran before card-scripts.
- Fixed pc_bonus to not underflow/overflow when adjusting def/mdef. - These two together, should fix Tao Gunka Card. - npc_debug_warps() will now be invoked if warp_point_debug is set. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6925 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 9dc5d0357..870a94390 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2934,8 +2934,8 @@ int do_init_npc(void)
memset(script_event, 0, sizeof(script_event));
npc_read_event_script();
//Debug function to locate all endless loop warps.
-// Warps debugging removed by request of Playtester. [Skotlex]
-// npc_debug_warps();
+ if (battle_config.warp_point_debug)
+ npc_debug_warps();
add_timer_func_list(npc_event_timer,"npc_event_timer");
add_timer_func_list(npc_event_do_clock,"npc_event_do_clock");