diff options
Diffstat (limited to 'npc/003-0')
-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: |