summaryrefslogtreecommitdiff
path: root/src/map/battle.h
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 /src/map/battle.h
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 'src/map/battle.h')
-rw-r--r--src/map/battle.h2
1 files changed, 2 insertions, 0 deletions
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;