summaryrefslogtreecommitdiff
path: root/npc/magic/mpgen.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-26 00:59:38 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-26 00:59:38 -0300
commita503be7ebdd9030406854c1d6f474cd001a112b9 (patch)
treeda0b735fd63f7cd5a9e8f0d4a9348c69955b0331 /npc/magic/mpgen.txt
parentd7534c8fe946258a831b91ccf3099e4fcee5e688 (diff)
downloadserverdata-a503be7ebdd9030406854c1d6f474cd001a112b9.tar.gz
serverdata-a503be7ebdd9030406854c1d6f474cd001a112b9.tar.bz2
serverdata-a503be7ebdd9030406854c1d6f474cd001a112b9.tar.xz
serverdata-a503be7ebdd9030406854c1d6f474cd001a112b9.zip
Most immediate bugfixes needed
Diffstat (limited to 'npc/magic/mpgen.txt')
-rw-r--r--npc/magic/mpgen.txt36
1 files changed, 0 insertions, 36 deletions
diff --git a/npc/magic/mpgen.txt b/npc/magic/mpgen.txt
deleted file mode 100644
index 1a45de552..000000000
--- a/npc/magic/mpgen.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-// TMW2 script
-// Author: Jesusalva <jesusalva@tmw2.org>
-//
-// Magic Script: -
-//
-// mpgen to make mana from HP
-
-function script SK_mpregen {
- // Convert HP to mana (20% HP - 1) (To prevent 5 casts from killing)
- .@basehp=(MaxHp/5)-1;
- // How much MP is that worth?
- // Well, 400HP:120MP so base formula is 4:1
- // Let's have a 50% penalty, so, 6:1
- .@mpheal=.@basehp/6;
- heal -.@basehp, .@mpheal;
- return;
-}
-
-/*
-- script sk#mpgen 32767,{
- end;
-
-OnCall:
- // Must have magic
- if (!MAGIC_LVL)
- end;
-
- unitskilluseid(getcharid(3), TMW2_MPREGEN, 1, getcharid(3));
- end;
-
-OnInit:
- bindatcmd "sk-mpgen", "sk#mpgen::OnCall", 0, 100, 0;
- end;
-}
-*/
-