summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-25 18:32:08 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-25 18:32:08 +0000
commit77b02c49796f442a3ea87bb5bab1b568a4d80a29 (patch)
treeaf359d1fdb161b0ecd330946a2d52dc458f814c1 /src/map/pc.c
parentc92056c063c53cbee4f7004d064f075b3c96c33f (diff)
downloadhercules-77b02c49796f442a3ea87bb5bab1b568a4d80a29.tar.gz
hercules-77b02c49796f442a3ea87bb5bab1b568a4d80a29.tar.bz2
hercules-77b02c49796f442a3ea87bb5bab1b568a4d80a29.tar.xz
hercules-77b02c49796f442a3ea87bb5bab1b568a4d80a29.zip
- Modified a bit the hard/lazy ai triggers to match aegis:
- Mobs go into active AI when they are 2 cells from entering a player's view (ACTIVE_AI_RANGE) - Mobs in passive AI no longer use skills. - Mobs in passive AI do not random walk UNLESS they have entered active AI before (random walk frequency is not lost during passive AI). - Added an additional check to prevent support skills from being blocked if the target has an armor element that blocks it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11294 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index cd071445a..5b7a6aab0 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1753,6 +1753,8 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
case SP_NO_GEMSTONE:
if(sd->state.lr_flag != 2)
sd->special_state.no_gemstone = 1;
+ ShowDebug("Rate: %d\n", sd->special_state.no_gemstone);
+
break;
case SP_INTRAVISION: // Maya Purple Card effect allowing to see Hiding/Cloaking people [DracoRPG]
if(sd->state.lr_flag != 2) {