summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2014-08-25 14:00:25 -0400
committermekolat <mekolat@gmail.com>2014-08-25 14:16:42 -0400
commit0b204ef03504772735d2de83e7fdea2c20e6be4a (patch)
treefd02237456da365831ebd68164aba7d5d32761de /world/map
parent0ac9007e65ba3dd92e991f416e8172c9762a0261 (diff)
downloadserverdata-0b204ef03504772735d2de83e7fdea2c20e6be4a.tar.gz
serverdata-0b204ef03504772735d2de83e7fdea2c20e6be4a.tar.bz2
serverdata-0b204ef03504772735d2de83e7fdea2c20e6be4a.tar.xz
serverdata-0b204ef03504772735d2de83e7fdea2c20e6be4a.zip
make the staff use its own sprite with confringo
Diffstat (limited to 'world/map')
-rw-r--r--world/map/conf/magic-level1.sex2
-rw-r--r--world/map/npc/items/check_wand.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/world/map/conf/magic-level1.sex b/world/map/conf/magic-level1.sex
index 88478c82..3e673170 100644
--- a/world/map/conf/magic-level1.sex
+++ b/world/map/conf/magic-level1.sex
@@ -19,7 +19,7 @@
(/ spellpower 10))
1200
3
- 33)
+ (script_int caster "@WandID"))
(CALL gain_xp 1 3)
(ATTRIGGER
(CALL attack_check target)
diff --git a/world/map/npc/items/check_wand.txt b/world/map/npc/items/check_wand.txt
index 1b11dfc2..4d8016bb 100644
--- a/world/map/npc/items/check_wand.txt
+++ b/world/map/npc/items/check_wand.txt
@@ -33,6 +33,7 @@ function|script|CheckWand|,
{
setarray $@Wands, 758, 1171;
setarray $@WandsPwr, 2, 1;
+ setarray $@WandsAnim, 35, 33;
set @Wand, 0;
set @wand_loop, 0;
goto L_Loop;
@@ -44,6 +45,7 @@ L_Loop:
L_SetWand:
set @Wand, $@WandsPwr[@wand_loop];
+ set @WandID, $@WandsAnim[@wand_loop];
callfunc "MorganState";
if (@morgan == 2)
goto L_SetCastOnce;