[@main]
#SAY
{FCOLOR/13}So how can i help you?{FCOLOR/1}\
{FCOLOR/13}Do you wish to Learn a new skill?{FCOLOR/1}\
{FCOLOR/13}To Learn a new skill you must have certain skill book{FCOLOR/1}\
{FCOLOR/13}with you. Furthermore the book must be Quite New{FCOLOR/1}\
{FCOLOR/13}for me to be able to read it. Otherwise the book{FCOLOR/1}\
{FCOLOR/13}is going in the bin. What skill would you like to learn?{FCOLOR/1}\ \
<Warrior Skills/[MENTION=589]Warrior[/MENTION]Skills22>\
<Wizard Skills/[MENTION=4428]Wizard[/MENTION]Skills22>\
<Taoist Skills/[MENTION=7419]Taoist[/MENTION]Skills22>\ \
<Exit/@Exit>\
[[MENTION=589]Warrior[/MENTION]Skills22]
#IF
CHECKJOB Warrior
#SAY
{FCOLOR/10}(Warrior Spells){FCOLOR/12}\ \
<Fencing(Level 7)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Fencing,7,5000)>\
<Slaying(Level 14)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Slaying,14,6000)>\
<Thrusting(Level 19)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Thrusting,19,7000)>\
<HalfMoon(Level 24)/[MENTION=589]Warrior[/MENTION]_Book_Convert(HalfMoon,24,10000)>\
<ShoulderDash(Level 27)/[MENTION=589]Warrior[/MENTION]_Book_Convert(ShoulderDash,27,15000)>\
<FlamingSword(Level 32)/[MENTION=589]Warrior[/MENTION]_Book_Convert(FlamingSword,32,20000)>\
<DragonRise(Level 35)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DragonRise,35,30000)>\
<BladeStorm(Level 38)/[MENTION=589]Warrior[/MENTION]_Book_Convert(BladeStorm,38,40000)>\
<DSurge(Level 40)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DSurge,40,50000)>\
<Interchange(Level 42)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Interchange,42,60000)>\
<Defiance(Level 44)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Defiance,44,70000)>\
<Beacon(Level 46)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Beacon,46,400000)>\
<StrengthPower(Level 47)/[MENTION=589]Warrior[/MENTION]_Book_Convert(StrengthPower,47,80000)>\
<Might(Level 48)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Might,48,90000)>\
<DrakeBladeStorm(Level 49)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DrakeBladeStorm,49,100000)>\
<Assault(Level 50)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Assault,50,140000)>\
<Endure(Level 51)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Endure,51,160000)>\
<ReflectDamage(Level 53)/[MENTION=589]Warrior[/MENTION]_Book_Convert(ReflectDamage,53,200000)>\
<Shackles(Level 55)/[MENTION=589]Warrior[/MENTION]_Book_Convert(Shackles,55,250000)>\
<EarthSurge(Level 70)/[MENTION=589]Warrior[/MENTION]_Book_Convert(EarthSurge,70,290000)>\
<GreatAssault(Level 73)/[MENTION=589]Warrior[/MENTION]_Book_Convert(GreatAssault,73,340000)>\
<DragonStorm(Level 80)/[MENTION=589]Warrior[/MENTION]_Book_Convert(DragonStorm,80,420000)>\ \
<Exit/@exit>\
#ELSESAY
Your are not a Warrior!\
<Exit/@exit>\
[[MENTION=4428]Wizard[/MENTION]Skills22]
#IF
CHECKJOB Wizard
#SAY
{FCOLOR/10}(Wizard Spells){FCOLOR/12}\ \
<Fireball(Level 7)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Fireball,7,2000)>\
<LightningBall(Level 8)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(LightningBall,8,3000)>\
<Iceball(Level 9)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Iceball,9,4000)>\
<PowerBurst(Level 10)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(PowerBurst,10,5000)>\
<FlameRepulse(Level 12)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(FlameRepulse,12,6000)>\
<ElectricShock(Level 13)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ElectricShock,13,7000)>\
<Teleport(Level 14)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Teleport,14,8000)>\
<GreatFireball(Level 15)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GreatFireball,15,9000)>\
<ThunderBolt(Level 16)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ThunderBolt,16,10000)>\
<IceBlades(Level 17)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(IceBlades,17,11000)>\
<GreatPowerBurst(Level 18)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GreatPowerBurst,18,12000)>\
<Hellfire(Level 20)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Hellfire,20,13000)>\
<LightningBeam(Level 21)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(LightningBeam,21,14000)>\
<FrozenEarth(Level 22)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(FrozenEarth,22,15000)>\
<BlowEarth(Level 23)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(BlowEarth,23,16000)>\
<Firewall(Level 24)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Firewall,24,17000)>\
<TurnUndead(Level 26)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(TurnUndead,26,18000)>\
<GeoManipulation(Level 27)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GeoManipulation,27,20000)>\
<MagicShield(Level 29)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(MagicShield,29,23000)>\
<Explosion(Level 32)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Explosion,32,25000)>\
<Lightning(Level 33)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Lightning,33,30000)>\
<IceStorm(Level 34)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(IceStorm,34,40000)>\
<DragonTornado(Level 35)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(DragonTornado,35,50000)>\
<GtFrozenEarth(Level 38)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GtFrozenEarth,38,60000)>\
<ChainLightning(Level 40)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ChainLightning,40,70000)>\
<MeteorShower(Level43)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(MeteorShower,42,80000)>\
<Renounce(Level 46)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Renounce,46,90000)>\
<Tempest(Level 49)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(Tempest,49,100000)>\
<ThunderGuard(Level 52)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(ThunderGuard,52,110000)>\
<MassThunder(Level 54)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(MassThunder,54,120000)>\
<SelfMultiply(Level 56)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(SelfMultiply,56,130000)>\
<EvilSpiritPower(Level 70)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(EvilSpiritPower,70,140000)>\
<HellChain(Level 72)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(HellChain,72,150000)>\
<EvilStorm(Level 74)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(EvilStorm,74,160000)>\
<EvilFlame(Level 76)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(EvilFlame,76,170000)>\
<GtMagicShield(Level 78)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GtMagicShield,78,180000)>\
<GreatRenounce(Level 80)/[MENTION=4428]Wizard[/MENTION]_Book_Convert(GreatRenounce,80,190000)>\ \
<Exit/@exit>\
#ELSESAY
Your are not a Wizard!\
<Exit/@exit>\
[[MENTION=7419]Taoist[/MENTION]Skills22]
#IF
CHECKJOB Taoist
#SAY
{FCOLOR/10}(Taoist Spells){FCOLOR/12}\ \
<Healing(Level 7)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Healing,7,2000)>\
<SpiritSword(Level 8)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SpiritSword,8,3000)>\
<Poisoning(Level 12)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Poisoning,12,4000)>\
<SoulFireball(Level 13)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SoulFireball,13,5000)>\
<EvilSlayer(Level 14)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(EvilSlayer,14,6000)>\
<SummonSkeleton(Level 17)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonSkeleton,17,7000)>\
<Hiding(Level 20)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Hiding,20,8000)>\
<SoulShield(Level 21)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SoulShield,21,9000)>\
<MassHiding(Level 23)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassHiding,23,10000)>\
<GreatEvilSlayer(Level 24)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(GreatEvilSlayer,24,11000)>\
<BlessedArmour(Level 25)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(BlessedArmour,25,12000)>\
<TrapHexagon(Level 27)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(TrapHexagon,27,13000)>\
<CombatKick(Level 28)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(CombatKick,28,14000)>\
<ElementalSup(Level 29)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(ElementalSup,29,15000)>\
<SummonShinsu(Level 30)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonShinsu,30,16000)>\
<MassHealing(Level 31)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassHealing,31,17000)>\
<SummonJin(Level 33)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonJin,33,20000)>\
<BloodLust(Level 34)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(BloodLust,34,30000)>\
<Resurrection(Level 35)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Resurrection,35,40000)>\
<Purification(Level 38)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Purification,38,60000)>\
<Strength(Level 40)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Strength,40,80000)>\
<Transparency(Level 43)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(Transparency,43,90000)>\
<CelestialLight(Level 46)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(CelestialLight,46,110000)>\
<RaisingLife(Level 47)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(RaisingLife,47,130000)>\
<EnergyEnhancer(Level 48)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(EnergyEnhancer,48,150000)>\
<GreatExplosion(Level 49)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(GreatExplosion,49,180000)>\
<MassPoisoning(Level 50)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassPoisoning,50,220000)>\
<SummonDummy(Level 52)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(SummonDummy,52,250000)>\
<CombatKick(Level 54)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(CombatKick,54,290000)>\
<BlessedGuard(Level 70)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(BlessedGuard,70,350000)>\
<MoonExplosion(Level 72)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MoonExplosion,72,400000)>\
<MassTrans(Level 78)/[MENTION=7419]Taoist[/MENTION]_Book_Convert(MassTrans,78,600000)>\ \
<Exit/@exit>\
#ELSESAY
Your are not a Taoist!\
<Exit/@exit>\
[[MENTION=4428]Wizard[/MENTION]_Book_Convert()]
#IF
#ACT
Mov A1{BOOK} %ARG(1)
Mov A2{lvl} %ARG(2)
Mov A3{MAP} %ARG(3)
goto @ConvertRootinBook_Step1
[[MENTION=589]Warrior[/MENTION]_Book_Convert()]
#IF
#ACT
Mov A1{BOOK} %ARG(1)
Mov A2{lvl} %ARG(2)
Mov A3{MAP} %ARG(3)
goto @ConvertRootinBook_Step1
[[MENTION=7419]Taoist[/MENTION]_Book_Convert()]
#IF
#ACT
Mov A1{BOOK} %ARG(1)
Mov A2{lvl} %ARG(2)
Mov A3{MAP} %ARG(3)
goto @ConvertRootinBook_Step1
[@ConvertRootinBook_Step1]
#SAY
So, you would like to Learn {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12} Spell?\
I can teach you the book for {FCOLOR/10}<$OUTPUT(A3)>{FCOLOR/12} Gold \
<Continue/@ConvertRootinBook_Step2>\
<Cancel/@exit>
[@ConvertRootinBook_Step2]
#IF
CHECKITEM %A1{BOOK} 1
CHECKlevel %A2
#ACT
goto @ConvertRootinBook_Step3
#ELSESAY
You do not have the required {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12} Spell Book!\
Or you are not level{FCOLOR/10} <$OUTPUT(A2)>{FCOLOR/12} to use this Book\ \
<Exit/@exit>\
[@ConvertRootinBook_Step3]
#IF
checkgold %A3
#ACT
TAKE gold %A3
Take %A1
actcmd addmagic %A1
#SAY
You succesfully learnt {FCOLOR/10}<$OUTPUT(A1)>{FCOLOR/12}.\\
<Exit/@exit>
#ELSESAY
You do not have enough Gold!\\
<Exit/@exit>