summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-11 17:09:09 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-11 17:09:09 +0000
commit4fc4f271eb042514ea22dd84b993b3bf288526a9 (patch)
tree8f1656e573d76c4d77d01015328c9cf1730bf14d /src/map/map.h
parent41f42674bbc627216b96cefea6b4a4d10c010799 (diff)
downloadhercules-4fc4f271eb042514ea22dd84b993b3bf288526a9.tar.gz
hercules-4fc4f271eb042514ea22dd84b993b3bf288526a9.tar.bz2
hercules-4fc4f271eb042514ea22dd84b993b3bf288526a9.tar.xz
hercules-4fc4f271eb042514ea22dd84b993b3bf288526a9.zip
Re-phrased the attacker flee/def penalty config descs
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10530 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index fc7affdf3..d7ebb3d6c 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -1033,7 +1033,12 @@ struct pet_data {
struct map_session_data *msd;
};
-enum { ATK_LUCKY=1,ATK_FLEE,ATK_DEF}; // 囲まれペナルティ計算用
+// state of a single attack attempt; used in flee/def penalty calculations when mobbed
+enum {
+ ATK_LUCKY=1, // attack was lucky-dodged
+ ATK_FLEE, // attack was dodged
+ ATK_DEF // attack connected
+};
struct map_data {
char name[MAP_NAME_LENGTH];