From 848708ccba75077e519c745cf036f5ddb594ad50 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 14 Jun 2006 20:10:36 +0000 Subject: - Modified how luk reduces status changes by reducing the gap. Eg: resist = vit; resist += (max - resist)*luk/300; - Added battle settings pc_max_sc_luk/mob_max_sc_luk to handle which is the luk threshold at which you gain inmunity (defaults to 300). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7168 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 8cbc15031..c926b3599 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -422,6 +422,8 @@ extern struct Battle_Config { unsigned short sc_castcancel; // [Skotlex] unsigned short pc_sc_def_rate; // [Skotlex] unsigned short mob_sc_def_rate; + unsigned short pc_luk_sc_def; + unsigned short mob_luk_sc_def; unsigned short pc_max_sc_def; unsigned short mob_max_sc_def; -- cgit v1.2.3-60-g2f50