summaryrefslogtreecommitdiff
path: root/conf-tmpl
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-14 20:10:36 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-14 20:10:36 +0000
commit848708ccba75077e519c745cf036f5ddb594ad50 (patch)
tree4b5bcfda86a688b29f6bdddb7c8c5f1be9bbbf63 /conf-tmpl
parent1f9da81c0d78cebcc74a189c97b2350ae01bf621 (diff)
downloadhercules-848708ccba75077e519c745cf036f5ddb594ad50.tar.gz
hercules-848708ccba75077e519c745cf036f5ddb594ad50.tar.bz2
hercules-848708ccba75077e519c745cf036f5ddb594ad50.tar.xz
hercules-848708ccba75077e519c745cf036f5ddb594ad50.zip
- 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
Diffstat (limited to 'conf-tmpl')
-rw-r--r--conf-tmpl/battle/battle.conf12
1 files changed, 10 insertions, 2 deletions
diff --git a/conf-tmpl/battle/battle.conf b/conf-tmpl/battle/battle.conf
index dec785359..caa861518 100644
--- a/conf-tmpl/battle/battle.conf
+++ b/conf-tmpl/battle/battle.conf
@@ -139,8 +139,16 @@ arrow_decrement: yes
pc_status_def_rate: 100
mob_status_def_rate: 100
+// Required luk to gain inmunity to status changes.
+// Luk increases resistance by closing the gap between natural resist and max
+// linearly. This setting indicates required luk to gain complete inmunity.
+// Eg: 40 vit -> 40% resist. 150 luk -> +50% of the missing gap.
+// So 40% + (50% of 60%) = 70%
+pc_luk_sc_def: 300
+mob_luk_sc_def: 300
+
// Maximum resistance to status changes. (10000 = 100%)
-// NOTE: This is applied before cards and equipment.
-// So inmunity cards can go beyond to this value.
+// NOTE: This is applied after cards and equipment, so inmunity cards are
+// capped to this.
pc_max_status_def: 10000
mob_max_status_def: 10000