summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level1-detect-magic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level1-detect-magic.txt')
-rw-r--r--world/map/npc/magic/level1-detect-magic.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/magic/level1-detect-magic.txt b/world/map/npc/magic/level1-detect-magic.txt
index f0c01592..e70c6218 100644
--- a/world/map/npc/magic/level1-detect-magic.txt
+++ b/world/map/npc/magic/level1-detect-magic.txt
@@ -7,7 +7,7 @@
addtimer 6000, "Magic Timer::OnClear"; // set the new debuff
callfunc "adjust_spellpower";
set Sp, Sp - 3;
- misceffect FX_MAGIC_GENERIC, strcharinfo(0);
+ misceffect FX_MAGIC_DETECT_CAST, strcharinfo(0);
set .@range, (@spellpower/50)+1;
foreach 1, getmap(), POS_X - .@range, POS_Y - .@range, POS_X + .@range, POS_Y + .@range,
strnpcinfo(0) + "::OnNearbyNpc";
@@ -17,7 +17,7 @@
OnNearbyNpc:
set .@e$, strnpcinfo(2,@target_id);
if(.@e$ == "#_M" || .@e$ == "#MAGIC" || get(.IS_MAGIC, @target_id))
- misceffect FX_MAGIC_DEFAULT, @target_id;
+ misceffect FX_MAGIC_DETECT_HIT, @target_id;
end;
OnInit: