spellList.qsrc 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644
  1. #spellList
  2. ! Information pertaining to PC for each spell
  3. ! spellKnown['spellname'] = 1 if the spell is known by the player
  4. ! spellLearn['spellname'] = 0-100, percentage of study that has occured to learn this spell. 100+ will learn it.
  5. !
  6. ! MetaData for Each Spell
  7. ! spellMana['spellname'] = Mana cost to cast this spell
  8. ! spellTime['spellname'] = How much time will pass in the casting of the spell
  9. ! spellDiff['spellname'] = Difficulty to learn and cast this spell
  10. ! $spellName['spellname'] = Pretty name for the spell
  11. ! $spellDesc['spellname'] = Description of what the spell does.
  12. ! $spellTarget['spellname'] = Intended Target of Spell (e.g.: 'self', 'team', 'enemy').
  13. ! $spellReq['spellname'] = Prerequisite Spell needed to learn this spell
  14. ! $spellOptDesc['spellname'] = name of an array of Option Descriptions for this spell
  15. ! $spellOptVal['spellname'] = name of an array of values to pass for Spell Options
  16. !
  17. ! There are also defined lists of spells grouped together
  18. ! $combatSpells = Spells that can be used in Combat
  19. ! $nonComSpells = Non-Combat Spells, ones that can be executed in any location.
  20. ! ---
  21. ! $basicSpells = basic spells that are taught by Tatiana
  22. ! $healSpells = Healing Spells
  23. ! $beautySpells = Beauty Spells
  24. ! $librarySpells = Spells Researchable in the Library
  25. ! $fireSpells = Fire-based spells
  26. ! $electSpells = Electricity based spells
  27. ! $earthSpells = Earth magic spells
  28. ! $airSpells = Air based spells
  29. ! $waterSpells = Water based spells
  30. !
  31. ! To create a new spell...
  32. ! 1) fill out the meta-data as listed above, this describes stats abotu the spell, cost, difficulty, desc, etc.
  33. ! 2) Typically, a spell will be in one of $combatSpells or $nonComSpells (this picks how the spell is executed
  34. ! by the user), andcalso in one other of the lists ($basicSpells, $fireSpells, etc.), which picks where you
  35. ! learn the spells.
  36. ! 3) Then create a matching section in the "spell" location for it. This function in "spell" describes what the
  37. ! spell actually does in game mechanics
  38. !teleport
  39. spellMana['teleport'] = 1000
  40. spellTime['teleport'] = 20
  41. spellDiff['teleport'] = 20
  42. $spellName['teleport'] = 'Teleport'
  43. $spellDesc['teleport'] = 'You can move from one Fairy Circle to another.'
  44. $spellTarget['teleport'] = 'self'
  45. $spellOptDesc['teleport'] = '$treeCircName'
  46. $spellOptVal['teleport'] = '$tpLocations'
  47. !regenerate
  48. spellMana['regenerate'] = 500
  49. spellTime['regenerate'] = 1
  50. spellDiff['regenerate'] = 5
  51. $spellName['regenerate'] = 'Regenerate'
  52. $spellDesc['regenerate'] = 'Slowly regain health over time.'
  53. $spellTarget['regenerate'] = 'self'
  54. !curedisease
  55. spellMana['curedisease'] = 1000
  56. spellTime['curedisease'] = 30
  57. spellDiff['curedisease'] = 25
  58. $spellName['curedisease'] = 'Cure Disease'
  59. $spellDesc['curedisease'] = 'Your body will burn itself free of any diseases you may have.'
  60. $spellTarget['teleport'] = 'self'
  61. !curewounds
  62. spellMana['curewounds'] = 1000
  63. spellTime['curewounds'] = 30
  64. spellDiff['curewounds'] = 25
  65. $spellName['curewounds'] = 'Cure Wounds'
  66. $spellDesc['curewounds'] = 'You feel your bodys wounds begin to heal.'
  67. $spellTarget['curewounds'] = 'team'
  68. !curewounds2
  69. spellMana['curewounds2'] = 10000
  70. spellTime['curewounds2'] = 60
  71. spellDiff['curewounds2'] = 75
  72. $spellName['curewounds2'] = 'Greater Cure Wounds'
  73. $spellDesc['curewounds2'] = 'You feel your body heal to perfection.'
  74. $spellReq['curewounds2'] = 'curewounds'
  75. $spellTarget['curewounds2'] = 'team'
  76. !painblock
  77. spellMana['painblock'] = 1000
  78. spellTime['painblock'] = 1
  79. spellDiff['painblock'] = 8
  80. $spellName['painblock'] = 'Pain Block'
  81. $spellDesc['painblock'] = 'Block your pain for some time.'
  82. $spellTarget['painblock'] = 'self'
  83. !berserk
  84. spellMana['berserk'] = 5000
  85. spellTime['berserk'] = 1
  86. spellDiff['berserk'] = 30
  87. $spellName['berserk'] = 'Berserker Rage'
  88. $spellDesc['berserk'] = 'Enrage yourself with supernatural strength, speed, and endurance.'
  89. $spellTarget['berserk'] = 'self'
  90. !shower
  91. spellMana['shower'] = 500
  92. spellTime['shower'] = 1
  93. spellDiff['shower'] = 1
  94. $spellName['shower'] = 'Shower'
  95. $spellDesc['shower'] = 'Clean and refresh yourself as if you have taken a shower.'
  96. $spellTarget['shower'] = 'self'
  97. !makeup
  98. spellMana['makeup'] = 100
  99. spellTime['makeup'] = 5
  100. spellDiff['makeup'] = 15
  101. $spellName['makeup'] = 'Makeup'
  102. $spellDesc['makeup'] = 'Apply Makeup to yourself magically.'
  103. $spellTarget['makeup'] = 'self'
  104. $spellOptDesc['makeup'] = '$MakeupSet'
  105. $spellOptVal['makeup'] = '$MakeupSetVal'
  106. if $routine1+$routine2+$routine3+$routine4 = '':
  107. killvar '$MakeupSet'
  108. killvar '$MakeupSetVal'
  109. $MakeupSet[0] = 'No Makeup'
  110. $MakeupSetVal[0] = '000'
  111. $MakeupSet[1] = 'Light Makeup'
  112. $makeupSetVal[1] = '110'
  113. $MakeupSet[2] = 'Vibrant Makeup'
  114. $makeupSetVal[2] = '210'
  115. $MakeupSet[3] = 'Heavy Makeup'
  116. $makeupSetVal[3] = '310'
  117. else
  118. killvar '$MakeupSet'
  119. killvar '$MakeupSetVal'
  120. $MakeupSet[0] = 'No Makeup'
  121. $MakeupSetVal[0] = '000'
  122. i=1
  123. if $routine1 ! '':
  124. $MakeupSet[i] = $routine1custname
  125. $MakeupSetVal[i] = $routine1
  126. i += 1
  127. end
  128. if $routine2 ! '':
  129. $MakeupSet[i] = $routine2custname
  130. $MakeupSetVal[i] = $routine2
  131. i += 1
  132. end
  133. if $routine3 ! '':
  134. $MakeupSet[i] = $routine3custname
  135. $MakeupSetVal[i] = $routine3
  136. i += 1
  137. end
  138. if $routine4 ! '':
  139. $MakeupSet[i] = $routine4custname
  140. $MakeupSetVal[i] = $routine4
  141. i += 1
  142. end
  143. killvar 'i'
  144. end
  145. !cosmetica
  146. spellMana['cosmetica'] = 1000
  147. spellTime['cosmetica'] = 5
  148. spellDiff['cosmetica'] = 50
  149. $spellName['cosmetica'] = 'Cosmetica'
  150. $spellDesc['cosmetica'] = 'Clean and tidy yourself, completely beautifying yourself; hair, makeup, grooming of all kinds.'
  151. $spellTarget['cosmetica'] = 'self'
  152. $spellReq['cosmetica'] = 'makeup'
  153. !glamour
  154. spellMana['glamour'] = 500
  155. spellTime['glamour'] = 1
  156. spellDiff['glamour'] = 30
  157. $spellName['glamour'] = 'Glamour'
  158. $spellTarget['glamour'] = 'self'
  159. $spellDesc['glamour'] = 'Become undefinablely beautiful. Your eyes sparkle just so. Your hair has a perfect luster. Your curves are undefinablely perfect.'
  160. !glamour
  161. spellMana['alterself'] = 500
  162. spellTime['alterself'] = 1
  163. spellDiff['alterself'] = 30
  164. $spellName['alterself'] = 'Alter Self'
  165. $spellTarget['alterself'] = 'self'
  166. $spellDesc['alterself'] = 'Change your appearance to that of some other person.'
  167. !bodymod
  168. spellMana['bodymod'] = 40
  169. spellTime['bodymod'] = 30
  170. spellDiff['bodymod'] = 0
  171. $spellName['bodymod'] = 'Body Modification'
  172. $spellDesc['bodymod'] = 'Change your appearance.'
  173. $spellTarget['bodymod'] = 'self'
  174. !fog
  175. spellMana['fog'] = 10
  176. spellTime['fog'] = 0
  177. spellDiff['fog'] = 1
  178. $spellName['fog'] = 'Fog'
  179. $spellDesc['fog'] = 'Create a fog on the battlefield, obscuring the view of the enemy.'
  180. $spellTarget['fog'] = 'self'
  181. !clone
  182. spellMana['clone'] = 15
  183. spellTime['clone'] = 0
  184. spellDiff['clone'] = 1
  185. $spellName['clone'] = 'Create Clone'
  186. $spellDesc['clone'] = 'You can create an exact clone of yourself, and slip out of sight of the enemy.'
  187. $spellTarget['clone'] = 'self'
  188. !stun
  189. spellMana['stun'] = 20
  190. spellTime['stun'] = 0
  191. spellDiff['stun'] = 2
  192. $spellName['stun'] = 'Stun'
  193. $spellDesc['stun'] = 'Paralyze the enemy with a touch.'
  194. $spellTarget['stun'] = 'enemy'
  195. !weapon
  196. spellMana['weapon'] = 20
  197. spellTime['weapon'] = 0
  198. spellDiff['weapon'] = 0
  199. $spellName['weapon'] = 'Empower Weapon'
  200. $spellDesc['weapon'] = 'Magically power a weapon causing greater damage.'
  201. $spellTarget['weapon'] = 'self'
  202. !wind
  203. spellMana['wind'] = 40
  204. spellTime['wind'] = 0
  205. spellDiff['wind'] = 2
  206. $spellName['wind'] = 'Gust of Wind'
  207. $spellDesc['wind'] = 'Summon a gust of wind that will clear away fog.'
  208. $spellTarget['wind'] = 'enemy'
  209. !multiclone
  210. spellMana['multiclone'] = 45
  211. spellTime['multiclone'] = 0
  212. spellDiff['multiclone'] = 2
  213. $spellName['multiclone'] = 'Multi-Clone'
  214. $spellDesc['multiclone'] = 'Summon three clones of yourself and slip out of the enemys sight.'
  215. $spellReq['multiclone'] = 'clone'
  216. $spellTarget['multiclone'] = 'self'
  217. !energo
  218. spellMana['energo'] = 50
  219. spellTime['energo'] = 0
  220. spellDiff['energo'] = 3
  221. $spellName['energo'] = 'Energy Shield'
  222. $spellDesc['energo'] = 'Create an energy shield to absorb incoming damage. You gain 100 defense.'
  223. $spellTarget['energo'] = 'self'
  224. !haste
  225. spellMana['haste'] = 60
  226. spellTime['haste'] = 0
  227. spellDiff['haste'] = 3
  228. $spellName['haste'] = 'Haste'
  229. $spellDesc['haste'] = 'Hasten your passage through time to gain reaction speed to seize the initiative.'
  230. $spellTarget['haste'] = 'self'
  231. !heal
  232. spellMana['heal'] = 400
  233. spellTime['heal'] = 0
  234. spellDiff['heal'] = 4
  235. $spellName['heal'] = 'Heal'
  236. $spellDesc['heal'] = 'Exchange mana for health, healing your wounds and fortifying your body.'
  237. $spellTarget['heal'] = 'team'
  238. !hand
  239. spellMana['hand'] = 100
  240. spellTime['hand'] = 0
  241. spellDiff['hand'] = 0
  242. $spellName['hand'] = 'Quivering Palm'
  243. $spellDesc['hand'] = 'Add energy from your mana to your hand for a devistating strike.'
  244. $spellTarget['wind'] = 'enemy'
  245. !scaldingtouch
  246. spellMana['scaldingtouch'] = 10
  247. spellTime['scaldingtouch'] = 0
  248. spellDiff['scaldingtouch'] = 6
  249. $spellName['scaldingtouch'] = 'Scalding Touch'
  250. $spellDesc['scaldingtouch'] = 'Flames spring from your hands.'
  251. $spellTarget['scaldingtouch'] = 'enemy'
  252. !burninghands
  253. spellMana['burninghands'] = 100
  254. spellTime['burninghands'] = 0
  255. spellDiff['burninghands'] = 7
  256. $spellName['burninghands'] = 'Burning Hands'
  257. $spellDesc['burninghands'] = 'A torrent of flames jets from your hands.'
  258. $spellReq['burninghands'] = 'scaldingtouch'
  259. $spellTarget['burninghands'] = 'enemy'
  260. !firebarrier
  261. spellMana['firebarrier'] = 150
  262. spellTime['firebarrier'] = 0
  263. spellDiff['firebarrier'] = 8
  264. $spellName['firebarrier'] = 'Fire Barrier'
  265. $spellDesc['firebarrier'] = 'You are shielded by a wall of flames. Adds 750 defense.'
  266. $spellTarget['firebarrier'] = 'self'
  267. !firestorm
  268. spellMana['firestorm'] = 250
  269. spellTime['firestorm'] = 0
  270. spellDiff['firestorm'] = 9
  271. $spellName['firestorm'] = 'Fire Storm'
  272. $spellDesc['firestorm'] = 'Super heated embers rain down upon your enemies.'
  273. $spellTarget['firestorm'] = 'enemy'
  274. !flameshield
  275. spellMana['flameshield'] = 500
  276. spellTime['flameshield'] = 0
  277. spellDiff['flameshield'] = 10
  278. $spellName['flameshield'] = 'Flame Shield'
  279. $spellDesc['flameshield'] = 'A Shield made of Flames interposes itself between you and your enemy, absorbing 2500 damage to defend you.'
  280. $spellTarget['flameshield'] = 'self'
  281. !shock
  282. spellMana['shock'] = 10
  283. spellTime['shock'] = 0
  284. spellDiff['shock'] = 6
  285. $spellName['shock'] = 'Electric Shock'
  286. $spellDesc['shock'] = 'An electric spark shoots from your hand.'
  287. $spellTarget['shock'] = 'enemy'
  288. !lightning
  289. spellMana['lightning'] = 100
  290. spellTime['lightning'] = 0
  291. spellDiff['lightning'] = 7
  292. $spellName['lightning'] = 'Lightning'
  293. $spellDesc['lightning'] = 'A lightning bolt shoots from your hand.'
  294. $spellTarget['lightning'] = 'enemy'
  295. !electricbarrier
  296. spellMana['electricbarrier'] = 150
  297. spellTime['electricbarrier'] = 0
  298. spellDiff['electricbarrier'] = 8
  299. $spellName['electricbarrier'] = 'Electric Barrier'
  300. $spellDesc['electricbarrier'] = 'A static electric field blocks incoming attacks from reaching you.'
  301. $spellTarget['electricbarrier'] = 'self'
  302. !1000birds
  303. spellMana['1000birds'] = 250
  304. spellTime['1000birds'] = 0
  305. spellDiff['1000birds'] = 9
  306. $spellName['1000birds'] = 'Dance of a Thousand Birds'
  307. $spellDesc['1000birds'] = 'The air is filled with small lightning bolts leaping through the air with shrieks.'
  308. $spellReq['1000birds'] = 'lightning'
  309. $spellTarget['1000birds'] = 'enemy'
  310. !dancingsphere
  311. spellMana['dancingsphere'] = 500
  312. spellTime['dancingsphere'] = 0
  313. spellDiff['dancingsphere'] = 10
  314. $spellName['dancingsphere'] = 'Dancing Sphere'
  315. $spellDesc['dancingsphere'] = 'Lightning dances around you blocking attacks coming toward you.'
  316. $spellTarget['dancingsphere'] = 'self'
  317. !quicksand
  318. spellMana['quicksand'] = 10
  319. spellTime['quicksand'] = 0
  320. spellDiff['quicksand'] = 6
  321. $spellName['quicksand'] = 'Quicksand'
  322. $spellDesc['quicksand'] = 'Opponent is caught in a quicksand trap.'
  323. $spellTarget['quicksand'] = 'enemy'
  324. !earthshield
  325. spellMana['earthshield'] = 100
  326. spellTime['earthshield'] = 0
  327. spellDiff['earthshield'] = 7
  328. $spellName['earthshield'] = 'Earth Shield'
  329. $spellDesc['earthshield'] = 'Tendrils of earth reach up to defend you. Some of the damage it absorbs is captured as mana and given to you.'
  330. $spellTarget['earthshield'] = 'self'
  331. !abyss
  332. spellMana['abyss'] = 150
  333. spellTime['abyss'] = 0
  334. spellDiff['abyss'] = 8
  335. $spellName['abyss'] = 'Abyss'
  336. $spellDesc['abyss'] = 'The Earth opens up beneath your opponents feet, slamming shut damaging him and depriving him of the ability to move.'
  337. $spellTarget['abyss'] = 'enemy'
  338. !earthguardian
  339. spellMana['earthguardian'] = 250
  340. spellTime['earthguardian'] = 0
  341. spellDiff['earthguardian'] = 9
  342. $spellName['earthguardian'] = 'Earth Guardian'
  343. $spellDesc['earthguardian'] = 'The Earth itself comes alive defending you from attacks. It draws from the power of the land to regenerate itself every round.'
  344. $spellTarget['earthguardian'] = 'self'
  345. !sando
  346. spellMana['sando'] = 500
  347. spellTime['sando'] = 0
  348. spellDiff['sando'] = 10
  349. $spellName['sando'] = 'Sando'
  350. $spellDesc['sando'] = 'Two huge plates of earth colapse together crushing the enemy and depriving him of the ability to move.'
  351. $spellTarget['sando'] = 'enemy'
  352. !windgust
  353. spellMana['windgust'] = 10
  354. spellTime['windgust'] = 0
  355. spellDiff['windgust'] = 6
  356. $spellName['windgust'] = 'Wind Gust'
  357. $spellDesc['windgust'] = 'a huge gust of wind rips past you killing clones and removing fog.'
  358. $spellTarget['windgust'] = 'enemy'
  359. !pressure
  360. spellMana['pressure'] = 100
  361. spellTime['pressure'] = 0
  362. spellDiff['pressure'] = 7
  363. $spellName['pressure'] = 'Horrific Pressure'
  364. $spellDesc['pressure'] = 'Enormous air pressure surrounds your enemy causing damage as well as killing clones and removing fog.'
  365. $spellTarget['pressure'] = 'enemy'
  366. !vacuum
  367. spellMana['vacuum'] = 150
  368. spellTime['vacuum'] = 0
  369. spellDiff['vacuum'] = 8
  370. $spellName['vacuum'] = 'Vacuum Sphere'
  371. $spellDesc['vacuum'] = 'A turbulent sphere of vacuum surrounds you blocking incoming attacks.'
  372. $spellTarget['vacuum'] = 'self'
  373. !vacuumshells
  374. spellMana['vacuumshells'] = 250
  375. spellTime['vacuumshells'] = 0
  376. spellDiff['vacuumshells'] = 9
  377. $spellName['vacuumshells'] = 'Vacuum Shells'
  378. $spellDesc['vacuumshells'] = 'Turbulent spheres of vacuum bombard your enemy destroying clones and removing fog.'
  379. $spellTarget['vacuumshells'] = 'enemy'
  380. !devouringvacuum
  381. spellMana['devouringvacuum'] = 500
  382. spellTime['devouringvacuum'] = 0
  383. spellDiff['devouringvacuum'] = 10
  384. $spellName['devouringvacuum'] = 'Devouring Vacuum'
  385. $spellDesc['devouringvacuum'] = 'A devouring vacuum sucks away your enemys defensive shields.'
  386. $spellTarget['devouringvacuum'] = 'enemy'
  387. !leechmana
  388. spellMana['leechmana'] = 10
  389. spellTime['leechmana'] = 0
  390. spellDiff['leechmana'] = 6
  391. $spellName['leechmana'] = 'Leech Mana'
  392. $spellDesc['leechmana'] = 'Inflict 100 damage and absorb 100 mana from your foe.'
  393. $spellTarget['leechmana'] = 'enemy'
  394. !flood
  395. spellMana['flood'] = 100
  396. spellTime['flood'] = 0
  397. spellDiff['flood'] = 7
  398. $spellName['flood'] = 'Flood'
  399. $spellDesc['flood'] = 'Inflict 1000 damage and absorb 500 mana from your foe.'
  400. $spellTarget['flood'] = 'enemy'
  401. !blister
  402. spellMana['blister'] = 150
  403. spellTime['blister'] = 0
  404. spellDiff['blister'] = 8
  405. $spellName['blister'] = 'Blister'
  406. $spellDesc['blister'] = 'Create a protective sphere of water. Some of the damage absorbed is converted into mana for you.'
  407. $spellTarget['blister'] = 'enemy'
  408. !sharkrockets
  409. spellMana['sharkrockets'] = 250
  410. spellTime['sharkrockets'] = 0
  411. spellDiff['sharkrockets'] = 9
  412. $spellName['sharkrockets'] = 'Shark Rockets'
  413. $spellDesc['sharkrockets'] = 'Blobs of Water shaped like sharks fly towards your enemy stiking them for 1500 damage and abosorbing 2500 mana for you. Clones are destroyed'
  414. $spellTarget['sharkrockets'] = 'enemy'
  415. !greatflood
  416. spellMana['greatflood'] = 500
  417. spellTime['greatflood'] = 0
  418. spellDiff['greatflood'] = 10
  419. $spellName['greatflood'] = 'Great Flood'
  420. $spellDesc['greatflood'] = 'A huge flood of water fills the area absorbing mana from the enemy and giving you additional protection.'
  421. $spellTarget['greatflood'] = 'enemy'
  422. !-------------------------------------------------------------------------------------------
  423. ! Pick Execution points for the spells
  424. ! List Combat Spells for use in fight scenerios
  425. $combatSpells[0] = 'fog'
  426. $combatSpells[1] = 'clone'
  427. $combatSpells[2] = 'stun'
  428. $combatSpells[3] = 'weapon'
  429. $combatSpells[4] = 'wind'
  430. $combatSpells[5] = 'multiclone'
  431. $combatSpells[6] = 'energo'
  432. $combatSpells[7] = 'haste'
  433. $combatSpells[8] = 'heal'
  434. $combatSpells[9] = 'hand'
  435. $combatSpells[10] = 'scaldingtouch'
  436. $combatSpells[11] = 'burninghands'
  437. $combatSpells[12] = 'firebarrier'
  438. $combatSpells[13] = 'firestorm'
  439. $combatSpells[14] = 'flameshield'
  440. $combatSpells[15] = 'shock'
  441. $combatSpells[16] = 'lightning'
  442. $combatSpells[17] = 'electricbarrier'
  443. $combatSpells[18] = '1000birds'
  444. $combatSpells[19] = 'dancingsphere'
  445. $combatSpells[20] = 'quicksand'
  446. $combatSpells[21] = 'earthshield'
  447. $combatSpells[22] = 'abyss'
  448. $combatSpells[23] = 'earthguardian'
  449. $combatSpells[24] = 'sando'
  450. $combatSpells[25] = 'windgust'
  451. $combatSpells[26] = 'pressure'
  452. $combatSpells[27] = 'vacuum'
  453. $combatSpells[28] = 'vacuumshells'
  454. $combatSpells[29] = 'devouringvacuum'
  455. $combatSpells[30] = 'leechmana'
  456. $combatSpells[31] = 'flood'
  457. $combatSpells[32] = 'blister'
  458. $combatSpells[33] = 'sharkrockets'
  459. $combatSpells[34] = 'greatflood'
  460. ! List of Non-Combat Spells for use in Menu
  461. $nonComSpells[0] = 'heal'
  462. $nonComSpells[1] = 'regenerate'
  463. $nonComSpells[2] = 'curedisease'
  464. $nonComSpells[3] = 'curewounds'
  465. $nonComSpells[4] = 'curewounds2'
  466. $nonComSpells[5] = 'painblock'
  467. $nonComSpells[6] = 'berserk'
  468. $nonComSpells[7] = 'shower'
  469. $nonComSpells[8] = 'makeup'
  470. $nonComSpells[9] = 'cosmetica'
  471. $nonComSpells[10] = 'glamour'
  472. !$nonComSpells[11] = 'alterself'
  473. !-------------------------------------------------------------------------------------
  474. ! Pick Learning Location for Spells
  475. ! Basic Spells
  476. $basicSpells[0] = 'fog'
  477. $basicSpells[1] = 'clone'
  478. $basicSpells[2] = 'stun'
  479. $basicSpells[3] = 'wind'
  480. $basicSpells[4] = 'multiclone'
  481. $basicSpells[5] = 'energo'
  482. $basicSpells[6] = 'haste'
  483. $basicSpells[7] = 'berserk'
  484. !Healing Spells
  485. $healSpells[0] = 'painblock'
  486. $healSpells[1] = 'curewounds'
  487. $healSpells[2] = 'curewounds2'
  488. $healSpells[3] = 'curedisease'
  489. $healSpells[4] = 'heal'
  490. $healSpells[5] = 'regenerate'
  491. ! Beauty Spells
  492. $beautySpells[0] = 'shower'
  493. $beautySpells[1] = 'makeup'
  494. $beautySpells[2] = 'cosmetica'
  495. ! Researchable Spells
  496. $librarySpells[0] = 'painblock'
  497. $librarySpells[1] = 'shower'
  498. $librarySpells[2] = 'makeup'
  499. $librarySpells[3] = 'cosmetica'
  500. $librarySpells[4] = 'glamour'
  501. !$librarySpells[5] = 'alterself'
  502. ! Elemental Spell Groups
  503. $fireSpells[0] = 'scaldingtouch'
  504. $fireSpells[1] = 'burninghands'
  505. $fireSpells[2] = 'firebarrier'
  506. $fireSpells[3] = 'firestorm'
  507. $fireSpells[4] = 'flameshield'
  508. $electSpells[0] = 'shock'
  509. $electSpells[1] = 'lightning'
  510. $electSpells[2] = 'electricbarrier'
  511. $electSpells[3] = '1000birds'
  512. $electSpells[4] = 'dancingsphere'
  513. $earthSpells[0] = 'quicksand'
  514. $earthSpells[1] = 'earthshield'
  515. $earthSpells[2] = 'abyss'
  516. $earthSpells[3] = 'earthguardian'
  517. $earthSpells[4] = 'sando'
  518. $airSpells[0] = 'windgust'
  519. $airSpells[1] = 'pressure'
  520. $airSpells[2] = 'vacuum'
  521. $airSpells[3] = 'vacuumshells'
  522. $airSpells[4] = 'devouringvacuum'
  523. $waterSpells[0] = 'leechmana'
  524. $waterSpells[1] = 'flood'
  525. $waterSpells[2] = 'blister'
  526. $waterSpells[3] = 'sharkrockets'
  527. $waterSpells[4] = 'greatflood'
  528. !! Spell Sets for Combat algorithms
  529. !Healing Spells
  530. $comHealSpells[0] = 'heal'
  531. !Shield Spells
  532. $comShldSpells[0] = 'flameshield'
  533. $comShldSpells[1] = 'firebarrier'
  534. $comShldSpells[2] = 'dancingsphere'
  535. $comShldSpells[3] = 'electricbarrier'
  536. $comShldSpells[4] = 'earthguardian'
  537. $comShldSpells[5] = 'earthshield'
  538. $comShldSpells[6] = 'vacuum'
  539. $comShldSpells[7] = 'blister'
  540. $comShldSpells[8] = 'energo'
  541. !Buff Spells
  542. $comBuffSpells[] = 'haste'
  543. $comBuffSpells[] = 'hand'
  544. !Attack Spells
  545. $comAtkSpells[0] = 'firestorm'
  546. $comAtkSpells[1] = 'burninghands'
  547. $comAtkSpells[2] = 'scaldingtouch'
  548. $comAtkSpells[3] = '1000birds'
  549. $comAtkSpells[4] = 'lightning'
  550. $comAtkSpells[5] = 'shock'
  551. $comAtkSpells[6] = 'sando'
  552. $comAtkSpells[7] = 'abyss'
  553. $comAtkSpells[8] = 'devouringvacuum'
  554. $comAtkSpells[9] = 'vacuumshells'
  555. $comAtkSpells[10] = 'quicksand'
  556. $comAtkSpells[11] = 'pressure'
  557. $comAtkSpells[12] = 'windgust'
  558. $comAtkSpells[13] = 'greatflood'
  559. $comAtkSpells[14] = 'sharkrockets'
  560. $comAtkSpells[15] = 'flood'
  561. $comAtkSpells[16] = 'leechmana'
  562. $comAtkSpells[17] = 'stun'
  563. $comAtkSpells[18] = 'weapon'
  564. !-------------------------------------------------------------------------------------------
  565. ! Helper procedure to build Action bar for Learning Spells.
  566. if $ARGS[0] = 'teacherActions':
  567. ! Make Actions for learning spells
  568. ! $ARGS[1] = the name of the array of spells
  569. ! $ARGS[2] = Exit Location
  570. ! $ARGS[3] = Arg for exit location
  571. ! Example:
  572. ! gs 'spellList', 'teacherActions', '$fireSpells', 'kakuzu', 'mansion1'
  573. $ThisArrayName = $ARGS[1]
  574. $ExitLocation = $ARGS[2]
  575. $ExitLocation2 = $ARGS[3]
  576. ThisArraySize = dyneval("result=arrsize('<<$ThisArrayName>>')")
  577. i = 0
  578. :LearnSpellLoop
  579. $ThisSpellName = dyneval("$result = <<$ThisArrayName>>[<<i>>]")
  580. spellDifficulty = $spellDiff[$ThisSpellName]
  581. if spellDifficulty = 0: spellDifficulty = 1
  582. if i < ThisArraySize:
  583. if pcs_magik >= spellDifficulty and spellKnown[$ThisSpellName] = 0 and ($spellReq[$ThisSpellName] = '' or spellKnown[$spellReq[$ThisSpellName]]):
  584. dynamic "act 'Learn <<$spellName[$ThisSpellName]>> (1:00)':
  585. cla
  586. if pcs_mana >= 1000:
  587. pcs_mana -= 1000
  588. minut += 60
  589. spellLearn['<<$ThisSpellName>>'] += rand(1, 100/<<spellDifficulty>>)
  590. if spellLearn['<<$ThisSpellName>>'] < 100:
  591. 'You diligently study the spell for an hour, but could not grasp it.'
  592. else
  593. spellKnown['<<$ThisSpellName>>'] = 1
  594. 'Finally you are able to grasp and learn the spell.'
  595. *nl
  596. '<<$spellName[$ThisSpellName]>>: <<$spellDesc[$ThisSpellName]>>'
  597. end
  598. else
  599. *pl ""You don't have enough mana to learn this spell.""
  600. end
  601. act 'Move away':gt '<<$ExitLocation>>', '<<$ExitLocation2>>'
  602. end"
  603. end
  604. i += 1
  605. jump 'LearnSpellLoop'
  606. end
  607. killvar 'i'
  608. killvar '$ThisSpellName'
  609. killvar 'ThisArraySize'
  610. killvar '$ThisArrayName'
  611. killvar '$ExitLocation'
  612. killvar '$ExitLocation2'
  613. killvar 'spellDifficulty'
  614. end
  615. --- spellList ---------------------------------