diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-25 06:40:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-25 06:40:01 -0300 |
commit | 14a0487a49e0a0bcba13f370cba8ecfbd5577a97 (patch) | |
tree | b782f47b52e5bdbebf6f14f837bb583ae0692767 /npc/003-0/trickmaster.txt | |
parent | 24bad6a171378e652a71b33a1f4d34549987fa6d (diff) | |
download | serverdata-14a0487a49e0a0bcba13f370cba8ecfbd5577a97.tar.gz serverdata-14a0487a49e0a0bcba13f370cba8ecfbd5577a97.tar.bz2 serverdata-14a0487a49e0a0bcba13f370cba8ecfbd5577a97.tar.xz serverdata-14a0487a49e0a0bcba13f370cba8ecfbd5577a97.zip |
Update Trickmaster to new magic learning interface
Diffstat (limited to 'npc/003-0/trickmaster.txt')
-rw-r--r-- | npc/003-0/trickmaster.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/003-0/trickmaster.txt b/npc/003-0/trickmaster.txt index 7bf14f51e..8a4bf345d 100644 --- a/npc/003-0/trickmaster.txt +++ b/npc/003-0/trickmaster.txt @@ -31,36 +31,36 @@ // Handle result switch (@menuret) { case TMW2_MANABOMB: - if (!mlearn(TMW2_MANABOMB, 1, 1, SulfurPowder, 1)) + if (!learn_magic(TMW2_MANABOMB)) mesc l("You do not meet all requisites for this skill."), 1; break; case TF_BACKSLIDING: - if (!mlearn(TF_BACKSLIDING, 1, 1, Lockpicks, 1)) + if (!learn_magic(TF_BACKSLIDING)) mesc l("You do not meet all requisites for this skill."), 1; break; case MG_FIREWALL: - if (!mlearn(MG_FIREWALL, 10, 1, Lockpicks, 1)) + if (!learn_magic(MG_FIREWALL)) mesc l("You do not meet all requisites for this skill."), 1; break; case AC_VULTURE: - if (!mlearn(AC_VULTURE, 1, 1, Lockpicks, 1)) + if (!learn_magic(AC_VULTURE)) mesc l("You do not meet all requisites for this skill."), 1; break; case SA_FREECAST: - if (!mlearn(SA_FREECAST, 1, 1, Lockpicks, 1)) + if (!learn_magic(SA_FREECAST)) mesc l("You do not meet all requisites for this skill."), 1; break; case ALL_FULL_THROTTLE: - if (!mlearn(ALL_FULL_THROTTLE, 1, 1, Lockpicks, 1)) + if (!learn_magic(ALL_FULL_THROTTLE)) mesc l("You do not meet all requisites for this skill."), 1; break; case GC_DARKILLUSION: - if (!mlearn(GC_DARKILLUSION, 3, 2, Lockpicks, 1)) + if (!learn_magic(GC_DARKILLUSION)) mesc l("You do not meet all requisites for this skill."), 1; break; case NV_TRICKDEAD: - if (!mlearn(NV_TRICKDEAD, 1, 2, Lockpicks, 1)) + if (!learn_magic(NV_TRICKDEAD)) mesc l("You do not meet all requisites for this skill."), 1; break; default: |