summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
Diffstat (limited to 'npc/magic')
-rw-r--r--npc/magic/config.txt1
-rw-r--r--npc/magic/final.txt3
-rw-r--r--npc/magic/level1-summon-maggots.txt11
-rw-r--r--npc/magic/level1-transmutations.txt4
4 files changed, 16 insertions, 3 deletions
diff --git a/npc/magic/config.txt b/npc/magic/config.txt
index f8135b43..285fa379 100644
--- a/npc/magic/config.txt
+++ b/npc/magic/config.txt
@@ -237,7 +237,6 @@ function script rectharm {
continue;
harm(.@mbs[.@i], .@d, .@t, .@e);
specialeffect(FX_ATTACK, AREA, .@mbs[.@i]);
- // TODO: Handle MobPt to don't overload timer system?
}
return;
}
diff --git a/npc/magic/final.txt b/npc/magic/final.txt
index 9000c3f3..19353572 100644
--- a/npc/magic/final.txt
+++ b/npc/magic/final.txt
@@ -32,6 +32,9 @@ function script HUB_SkillInvoke {
case TMW2_FAKESKILL:
charcommand("@refresh"); // Possibly broken on too up-to-date Herc
break;
+ case SKILL_JANDE:
+ SK_Jande(); break;
+ break;
// Level 0
case SKILL_CONFRINGO:
SK_Confringo(); break;
diff --git a/npc/magic/level1-summon-maggots.txt b/npc/magic/level1-summon-maggots.txt
index 7ca9f74d..6011d52c 100644
--- a/npc/magic/level1-summon-maggots.txt
+++ b/npc/magic/level1-summon-maggots.txt
@@ -13,3 +13,14 @@ function script SK_Kalmurk {
return;
}
+function script SK_Jande {
+ delitem TinyManaElixir, 1;
+ specialeffect(FX_MAGIC_MAGGOT_CAST, AREA, getcharid(3));
+ sleep2(cap_value(15400-AdjustSpellpower(100)-@skillLv*400, 10000, 15000));
+ .@lifetime=59+@skillLv;
+ .@lifetime = .@lifetime * (50 + abizit() * rand2(5,6)) / 100;
+ .@lifetime = min(.@lifetime, 75);
+ summon("Summoned Monster", ManaGuard, .@lifetime);
+ return;
+}
+
diff --git a/npc/magic/level1-transmutations.txt b/npc/magic/level1-transmutations.txt
index 88e916fc..ef2723c4 100644
--- a/npc/magic/level1-transmutations.txt
+++ b/npc/magic/level1-transmutations.txt
@@ -22,7 +22,7 @@ function script SK_Transmute {
setarray .@failure, WarpedLog, WarpedLog;
break;
case SKILL_ZUKMINBIRF:
- .@prize = IronPowder; .@pc = 1+AdjustSpellpower(@skillLv*5);
+ .@prize = IronPowder; .@pc = 1+(AdjustSpellpower(@skillLv*5)/3);
.@mexp = 2; .@fx = FX_MAGIC_IRON_CAST;
setarray .@component, IronOre;
setarray .@co_amount, 1;
@@ -50,7 +50,7 @@ function script SK_Transmute {
setarray .@failure, CottonCloth, CottonCloth;
break;
case SKILL_GOLE:
- .@prize = SulphurPowder; .@pc = 1+AdjustSpellpower(@skillLv*20);
+ .@prize = SulphurPowder; .@pc = 1+(AdjustSpellpower(@skillLv*20)/3);
.@mexp = 1; .@fx = FX_MAGIC_SULPHUR_CAST;
setarray .@component, PileOfAsh;
setarray .@co_amount, 1;