spellList.qsrc 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  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'] = 'Change your appearance.'
  160. !bodymod
  161. spellMana['bodymod'] = 40
  162. spellTime['bodymod'] = 30
  163. spellDiff['bodymod'] = 0
  164. $spellName['bodymod'] = 'Body Modification'
  165. $spellDesc['bodymod'] = 'Change your appearance.'
  166. $spellTarget['bodymod'] = 'self'
  167. !fog
  168. spellMana['fog'] = 10
  169. spellTime['fog'] = 0
  170. spellDiff['fog'] = 1
  171. $spellName['fog'] = 'Fog'
  172. $spellDesc['fog'] = 'Create a fog on the battlefield, obscuring the view of the enemy.'
  173. $spellTarget['fog'] = 'self'
  174. !clone
  175. spellMana['clone'] = 15
  176. spellTime['clone'] = 0
  177. spellDiff['clone'] = 1
  178. $spellName['clone'] = 'Create Clone'
  179. $spellDesc['clone'] = 'You can create an exact clone of yourself, and slip out of sight of the enemy.'
  180. $spellTarget['clone'] = 'self'
  181. !stun
  182. spellMana['stun'] = 20
  183. spellTime['stun'] = 0
  184. spellDiff['stun'] = 2
  185. $spellName['stun'] = 'Stun'
  186. $spellDesc['stun'] = 'Paralyze the enemy with a touch.'
  187. $spellTarget['stun'] = 'enemy'
  188. !weapon
  189. spellMana['weapon'] = 20
  190. spellTime['weapon'] = 0
  191. spellDiff['weapon'] = 0
  192. $spellName['weapon'] = 'Empower Weapon'
  193. $spellDesc['weapon'] = 'Magically power a weapon causing greater damage.'
  194. $spellTarget['weapon'] = 'self'
  195. !wind
  196. spellMana['wind'] = 40
  197. spellTime['wind'] = 0
  198. spellDiff['wind'] = 2
  199. $spellName['wind'] = 'Gust of Wind'
  200. $spellDesc['wind'] = 'Summon a gust of wind that will clear away fog.'
  201. $spellTarget['wind'] = 'enemy'
  202. !multiclone
  203. spellMana['multiclone'] = 45
  204. spellTime['multiclone'] = 0
  205. spellDiff['multiclone'] = 2
  206. $spellName['multiclone'] = 'Multi-Clone'
  207. $spellDesc['multiclone'] = 'Summon three clones of yourself and slip out of the enemys sight.'
  208. $spellReq['multiclone'] = 'clone'
  209. $spellTarget['multiclone'] = 'self'
  210. !energo
  211. spellMana['energo'] = 50
  212. spellTime['energo'] = 0
  213. spellDiff['energo'] = 3
  214. $spellName['energo'] = 'Energy Shield'
  215. $spellDesc['energo'] = 'Create an energy shield to absorb incoming damage. You gain 100 defense.'
  216. $spellTarget['energo'] = 'self'
  217. !haste
  218. spellMana['haste'] = 60
  219. spellTime['haste'] = 0
  220. spellDiff['haste'] = 3
  221. $spellName['haste'] = 'Haste'
  222. $spellDesc['haste'] = 'Hasten your passage through time to gain reaction speed to seize the initiative.'
  223. $spellTarget['haste'] = 'self'
  224. !heal
  225. spellMana['heal'] = 400
  226. spellTime['heal'] = 0
  227. spellDiff['heal'] = 4
  228. $spellName['heal'] = 'Heal'
  229. $spellDesc['heal'] = 'Exchange mana for health, healing your wounds and fortifying your body.'
  230. $spellTarget['heal'] = 'team'
  231. !hand
  232. spellMana['hand'] = 100
  233. spellTime['hand'] = 0
  234. spellDiff['hand'] = 0
  235. $spellName['hand'] = 'Quivering Palm'
  236. $spellDesc['hand'] = 'Add energy from your mana to your hand for a devistating strike.'
  237. $spellTarget['wind'] = 'enemy'
  238. !scaldingtouch
  239. spellMana['scaldingtouch'] = 10
  240. spellTime['scaldingtouch'] = 0
  241. spellDiff['scaldingtouch'] = 6
  242. $spellName['scaldingtouch'] = 'Scalding Touch'
  243. $spellDesc['scaldingtouch'] = 'Flames spring from your hands.'
  244. $spellTarget['scaldingtouch'] = 'enemy'
  245. !burninghands
  246. spellMana['burninghands'] = 100
  247. spellTime['burninghands'] = 0
  248. spellDiff['burninghands'] = 7
  249. $spellName['burninghands'] = 'Burning Hands'
  250. $spellDesc['burninghands'] = 'A torrent of flames jets from your hands.'
  251. $spellReq['burninghands'] = 'scaldingtouch'
  252. $spellTarget['burninghands'] = 'enemy'
  253. !firebarrier
  254. spellMana['firebarrier'] = 150
  255. spellTime['firebarrier'] = 0
  256. spellDiff['firebarrier'] = 8
  257. $spellName['firebarrier'] = 'Fire Barrier'
  258. $spellDesc['firebarrier'] = 'You are shielded by a wall of flames. Adds 750 defense.'
  259. $spellTarget['firebarrier'] = 'self'
  260. !firestorm
  261. spellMana['firestorm'] = 250
  262. spellTime['firestorm'] = 0
  263. spellDiff['firestorm'] = 9
  264. $spellName['firestorm'] = 'Fire Storm'
  265. $spellDesc['firestorm'] = 'Super heated embers rain down upon your enemies.'
  266. $spellTarget['firestorm'] = 'enemy'
  267. !flameshield
  268. spellMana['flameshield'] = 500
  269. spellTime['flameshield'] = 0
  270. spellDiff['flameshield'] = 10
  271. $spellName['flameshield'] = 'Flame Shield'
  272. $spellDesc['flameshield'] = 'A Shield made of Flames interposes itself between you and your enemy, absorbing 2500 damage to defend you.'
  273. $spellTarget['flameshield'] = 'self'
  274. !shock
  275. spellMana['shock'] = 10
  276. spellTime['shock'] = 0
  277. spellDiff['shock'] = 6
  278. $spellName['shock'] = 'Electric Shock'
  279. $spellDesc['shock'] = 'An electric spark shoots from your hand.'
  280. $spellTarget['shock'] = 'enemy'
  281. !lightning
  282. spellMana['lightning'] = 100
  283. spellTime['lightning'] = 0
  284. spellDiff['lightning'] = 7
  285. $spellName['lightning'] = 'Lightning'
  286. $spellDesc['lightning'] = 'A lightning bolt shoots from your hand.'
  287. $spellTarget['lightning'] = 'enemy'
  288. !electricbarrier
  289. spellMana['electricbarrier'] = 150
  290. spellTime['electricbarrier'] = 0
  291. spellDiff['electricbarrier'] = 8
  292. $spellName['electricbarrier'] = 'Electric Barrier'
  293. $spellDesc['electricbarrier'] = 'A static electric field blocks incoming attacks from reaching you.'
  294. $spellTarget['electricbarrier'] = 'self'
  295. !1000birds
  296. spellMana['1000birds'] = 250
  297. spellTime['1000birds'] = 0
  298. spellDiff['1000birds'] = 9
  299. $spellName['1000birds'] = 'Dance of a Thousand Birds'
  300. $spellDesc['1000birds'] = 'The air is filled with small lightning bolts leaping through the air with shrieks.'
  301. $spellReq['1000birds'] = 'lightning'
  302. $spellTarget['1000birds'] = 'enemy'
  303. !dancingsphere
  304. spellMana['dancingsphere'] = 500
  305. spellTime['dancingsphere'] = 0
  306. spellDiff['dancingsphere'] = 10
  307. $spellName['dancingsphere'] = 'Dancing Sphere'
  308. $spellDesc['dancingsphere'] = 'Lightning dances around you blocking attacks coming toward you.'
  309. $spellTarget['dancingsphere'] = 'self'
  310. !quicksand
  311. spellMana['quicksand'] = 10
  312. spellTime['quicksand'] = 0
  313. spellDiff['quicksand'] = 6
  314. $spellName['quicksand'] = 'Quicksand'
  315. $spellDesc['quicksand'] = 'Opponent is caught in a quicksand trap.'
  316. $spellTarget['quicksand'] = 'enemy'
  317. !earthshield
  318. spellMana['earthshield'] = 100
  319. spellTime['earthshield'] = 0
  320. spellDiff['earthshield'] = 7
  321. $spellName['earthshield'] = 'Earth Shield'
  322. $spellDesc['earthshield'] = 'Tendrils of earth reach up to defend you. Some of the damage it absorbs is captured as mana and given to you.'
  323. $spellTarget['earthshield'] = 'self'
  324. !abyss
  325. spellMana['abyss'] = 150
  326. spellTime['abyss'] = 0
  327. spellDiff['abyss'] = 8
  328. $spellName['abyss'] = 'Abyss'
  329. $spellDesc['abyss'] = 'The Earth opens up beneath your opponents feet, slamming shut damaging him and depriving him of the ability to move.'
  330. $spellTarget['abyss'] = 'enemy'
  331. !earthguardian
  332. spellMana['earthguardian'] = 250
  333. spellTime['earthguardian'] = 0
  334. spellDiff['earthguardian'] = 9
  335. $spellName['earthguardian'] = 'Earth Guardian'
  336. $spellDesc['earthguardian'] = 'The Earth itself comes alive defending you from attacks. It draws from the power of the land to regenerate itself every round.'
  337. $spellTarget['earthguardian'] = 'self'
  338. !sando
  339. spellMana['sando'] = 500
  340. spellTime['sando'] = 0
  341. spellDiff['sando'] = 10
  342. $spellName['sando'] = 'Sando'
  343. $spellDesc['sando'] = 'Two huge plates of earth colapse together crushing the enemy and depriving him of the ability to move.'
  344. $spellTarget['sando'] = 'enemy'
  345. !windgust
  346. spellMana['windgust'] = 10
  347. spellTime['windgust'] = 0
  348. spellDiff['windgust'] = 6
  349. $spellName['windgust'] = 'Wind Gust'
  350. $spellDesc['windgust'] = 'a huge gust of wind rips past you killing clones and removing fog.'
  351. $spellTarget['windgust'] = 'enemy'
  352. !pressure
  353. spellMana['pressure'] = 100
  354. spellTime['pressure'] = 0
  355. spellDiff['pressure'] = 7
  356. $spellName['pressure'] = 'Horrific Pressure'
  357. $spellDesc['pressure'] = 'Enormous air pressure surrounds your enemy causing damage as well as killing clones and removing fog.'
  358. $spellTarget['pressure'] = 'enemy'
  359. !vacuum
  360. spellMana['vacuum'] = 150
  361. spellTime['vacuum'] = 0
  362. spellDiff['vacuum'] = 8
  363. $spellName['vacuum'] = 'Vacuum Sphere'
  364. $spellDesc['vacuum'] = 'A turbulent sphere of vacuum surrounds you blocking incoming attacks.'
  365. $spellTarget['vacuum'] = 'self'
  366. !vacuumshells
  367. spellMana['vacuumshells'] = 250
  368. spellTime['vacuumshells'] = 0
  369. spellDiff['vacuumshells'] = 9
  370. $spellName['vacuumshells'] = 'Vacuum Shells'
  371. $spellDesc['vacuumshells'] = 'Turbulent spheres of vacuum bombard your enemy destroying clones and removing fog.'
  372. $spellTarget['vacuumshells'] = 'enemy'
  373. !devouringvacuum
  374. spellMana['devouringvacuum'] = 500
  375. spellTime['devouringvacuum'] = 0
  376. spellDiff['devouringvacuum'] = 10
  377. $spellName['devouringvacuum'] = 'Devouring Vacuum'
  378. $spellDesc['devouringvacuum'] = 'A devouring vacuum sucks away your enemys defensive shields.'
  379. $spellTarget['devouringvacuum'] = 'enemy'
  380. !leechmana
  381. spellMana['leechmana'] = 10
  382. spellTime['leechmana'] = 0
  383. spellDiff['leechmana'] = 6
  384. $spellName['leechmana'] = 'Leech Mana'
  385. $spellDesc['leechmana'] = 'Inflict 100 damage and absorb 100 mana from your foe.'
  386. $spellTarget['leechmana'] = 'enemy'
  387. !flood
  388. spellMana['flood'] = 100
  389. spellTime['flood'] = 0
  390. spellDiff['flood'] = 7
  391. $spellName['flood'] = 'Flood'
  392. $spellDesc['flood'] = 'Inflict 1000 damage and absorb 500 mana from your foe.'
  393. $spellTarget['flood'] = 'enemy'
  394. !blister
  395. spellMana['blister'] = 150
  396. spellTime['blister'] = 0
  397. spellDiff['blister'] = 8
  398. $spellName['blister'] = 'Blister'
  399. $spellDesc['blister'] = 'Create a protective sphere of water. Some of the damage absorbed is converted into mana for you.'
  400. $spellTarget['blister'] = 'enemy'
  401. !sharkrockets
  402. spellMana['sharkrockets'] = 250
  403. spellTime['sharkrockets'] = 0
  404. spellDiff['sharkrockets'] = 9
  405. $spellName['sharkrockets'] = 'Shark Rockets'
  406. $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'
  407. $spellTarget['sharkrockets'] = 'enemy'
  408. !greatflood
  409. spellMana['greatflood'] = 500
  410. spellTime['greatflood'] = 0
  411. spellDiff['greatflood'] = 10
  412. $spellName['greatflood'] = 'Great Flood'
  413. $spellDesc['greatflood'] = 'A huge flood of water fills the area absorbing mana from the enemy and giving you additional protection.'
  414. $spellTarget['greatflood'] = 'enemy'
  415. !-------------------------------------------------------------------------------------------
  416. ! Pick Execution points for the spells
  417. ! List Combat Spells for use in fight scenerios
  418. $combatSpells[0] = 'fog'
  419. $combatSpells[1] = 'clone'
  420. $combatSpells[2] = 'stun'
  421. $combatSpells[3] = 'weapon'
  422. $combatSpells[4] = 'wind'
  423. $combatSpells[5] = 'multiclone'
  424. $combatSpells[6] = 'energo'
  425. $combatSpells[7] = 'haste'
  426. $combatSpells[8] = 'heal'
  427. $combatSpells[9] = 'hand'
  428. $combatSpells[10] = 'scaldingtouch'
  429. $combatSpells[11] = 'burninghands'
  430. $combatSpells[12] = 'firebarrier'
  431. $combatSpells[13] = 'firestorm'
  432. $combatSpells[14] = 'flameshield'
  433. $combatSpells[15] = 'shock'
  434. $combatSpells[16] = 'lightning'
  435. $combatSpells[17] = 'electricbarrier'
  436. $combatSpells[18] = '1000birds'
  437. $combatSpells[19] = 'dancingsphere'
  438. $combatSpells[20] = 'quicksand'
  439. $combatSpells[21] = 'earthshield'
  440. $combatSpells[22] = 'abyss'
  441. $combatSpells[23] = 'earthguardian'
  442. $combatSpells[24] = 'sando'
  443. $combatSpells[25] = 'windgust'
  444. $combatSpells[26] = 'pressure'
  445. $combatSpells[27] = 'vacuum'
  446. $combatSpells[28] = 'vacuumshells'
  447. $combatSpells[29] = 'devouringvacuum'
  448. $combatSpells[30] = 'leechmana'
  449. $combatSpells[31] = 'flood'
  450. $combatSpells[32] = 'blister'
  451. $combatSpells[33] = 'sharkrockets'
  452. $combatSpells[34] = 'greatflood'
  453. ! List of Non-Combat Spells for use in Menu
  454. $nonComSpells[0] = 'heal'
  455. $nonComSpells[1] = 'regenerate'
  456. $nonComSpells[2] = 'curedisease'
  457. $nonComSpells[3] = 'curewounds'
  458. $nonComSpells[4] = 'curewounds2'
  459. $nonComSpells[5] = 'painblock'
  460. $nonComSpells[6] = 'berserk'
  461. $nonComSpells[7] = 'shower'
  462. $nonComSpells[8] = 'makeup'
  463. $nonComSpells[9] = 'cosmetica'
  464. !-------------------------------------------------------------------------------------
  465. ! Pick Learning Location for Spells
  466. ! Basic Spells
  467. $basicSpells[0] = 'fog'
  468. $basicSpells[1] = 'clone'
  469. $basicSpells[2] = 'stun'
  470. $basicSpells[3] = 'wind'
  471. $basicSpells[4] = 'multiclone'
  472. $basicSpells[5] = 'energo'
  473. $basicSpells[6] = 'haste'
  474. $basicSpells[7] = 'berserk'
  475. !Healing Spells
  476. $healSpells[0] = 'painblock'
  477. $healSpells[1] = 'curewounds'
  478. $healSpells[2] = 'curewounds2'
  479. $healSpells[3] = 'curedisease'
  480. $healSpells[4] = 'heal'
  481. $healSpells[5] = 'regenerate'
  482. ! Beauty Spells
  483. $beautySpells[0] = 'shower'
  484. $beautySpells[1] = 'makeup'
  485. $beautySpells[2] = 'cosmetica'
  486. ! Researchable Spells
  487. $librarySpells[0] = 'painblock'
  488. $librarySpells[1] = 'shower'
  489. $librarySpells[2] = 'makeup'
  490. $librarySpells[3] = 'cosmetica'
  491. ! Elemental Spell Groups
  492. $fireSpells[0] = 'scaldingtouch'
  493. $fireSpells[1] = 'burninghands'
  494. $fireSpells[2] = 'firebarrier'
  495. $fireSpells[3] = 'firestorm'
  496. $fireSpells[4] = 'flameshield'
  497. $electSpells[0] = 'shock'
  498. $electSpells[1] = 'lightning'
  499. $electSpells[2] = 'electricbarrier'
  500. $electSpells[3] = '1000birds'
  501. $electSpells[4] = 'dancingsphere'
  502. $earthSpells[0] = 'quicksand'
  503. $earthSpells[1] = 'earthshield'
  504. $earthSpells[2] = 'abyss'
  505. $earthSpells[3] = 'earthguardian'
  506. $earthSpells[4] = 'sando'
  507. $airSpells[0] = 'windgust'
  508. $airSpells[1] = 'pressure'
  509. $airSpells[2] = 'vacuum'
  510. $airSpells[3] = 'vacuumshells'
  511. $airSpells[4] = 'devouringvacuum'
  512. $waterSpells[0] = 'leechmana'
  513. $waterSpells[1] = 'flood'
  514. $waterSpells[2] = 'blister'
  515. $waterSpells[3] = 'sharkrockets'
  516. $waterSpells[4] = 'greatflood'
  517. !! Spell Sets for Combat algorithms
  518. !Healing Spells
  519. $comHealSpells[0] = 'heal'
  520. !Shield Spells
  521. $comShldSpells[0] = 'flameshield'
  522. $comShldSpells[1] = 'firebarrier'
  523. $comShldSpells[2] = 'dancingsphere'
  524. $comShldSpells[3] = 'electricbarrier'
  525. $comShldSpells[4] = 'earthguardian'
  526. $comShldSpells[5] = 'earthshield'
  527. $comShldSpells[6] = 'vacuum'
  528. $comShldSpells[7] = 'blister'
  529. $comShldSpells[8] = 'energo'
  530. !Buff Spells
  531. $comBuffSpells[] = 'haste'
  532. $comBuffSpells[] = 'hand'
  533. !Attack Spells
  534. $comAtkSpells[0] = 'firestorm'
  535. $comAtkSpells[1] = 'burninghands'
  536. $comAtkSpells[2] = 'scaldingtouch'
  537. $comAtkSpells[3] = '1000birds'
  538. $comAtkSpells[4] = 'lightning'
  539. $comAtkSpells[5] = 'shock'
  540. $comAtkSpells[6] = 'sando'
  541. $comAtkSpells[7] = 'abyss'
  542. $comAtkSpells[8] = 'devouringvacuum'
  543. $comAtkSpells[9] = 'vacuumshells'
  544. $comAtkSpells[10] = 'quicksand'
  545. $comAtkSpells[11] = 'pressure'
  546. $comAtkSpells[12] = 'windgust'
  547. $comAtkSpells[13] = 'greatflood'
  548. $comAtkSpells[14] = 'sharkrockets'
  549. $comAtkSpells[15] = 'flood'
  550. $comAtkSpells[16] = 'leechmana'
  551. $comAtkSpells[17] = 'stun'
  552. $comAtkSpells[18] = 'weapon'
  553. !-------------------------------------------------------------------------------------------
  554. ! Helper procedure to build Action bar for Learning Spells.
  555. if $ARGS[0] = 'teacherActions':
  556. ! Make Actions for learning spells
  557. ! $ARGS[1] = the name of the array of spells
  558. ! $ARGS[2] = Exit Location
  559. ! $ARGS[3] = Arg for exit location
  560. ! Example:
  561. ! gs 'spellList', 'teacherActions', '$fireSpells', 'kakuzu', 'mansion1'
  562. $ThisArrayName = $ARGS[1]
  563. $ExitLocation = $ARGS[2]
  564. $ExitLocation2 = $ARGS[3]
  565. ThisArraySize = dyneval("result=arrsize('<<$ThisArrayName>>')")
  566. i = 0
  567. :LearnSpellLoop
  568. $ThisSpellName = dyneval("$result = <<$ThisArrayName>>[<<i>>]")
  569. spellDifficulty = $spellDiff[$ThisSpellName]
  570. if spellDifficulty = 0: spellDifficulty = 1
  571. if i < ThisArraySize:
  572. if pcs_magik >= spellDifficulty and spellKnown[$ThisSpellName] = 0 and ($spellReq[$ThisSpellName] = '' or spellKnown[$spellReq[$ThisSpellName]]):
  573. dynamic "act 'Learn <<$spellName[$ThisSpellName]>> (1:00)':
  574. cla
  575. if pcs_mana >= 1000:
  576. pcs_mana -= 1000
  577. minut += 60
  578. spellLearn['<<$ThisSpellName>>'] += rand(1, 100/<<spellDifficulty>>)
  579. if spellLearn['<<$ThisSpellName>>'] < 100:
  580. 'You diligently study the spell for an hour, but could not grasp it.'
  581. else
  582. spellKnown['<<$ThisSpellName>>'] = 1
  583. 'Finally you are able to grasp and learn the spell.'
  584. *nl
  585. '<<$spellName[$ThisSpellName]>>: <<$spellDesc[$ThisSpellName]>>'
  586. end
  587. else
  588. *pl ""You don't have enough mana to learn this spell.""
  589. end
  590. act 'Move away':gt '<<$ExitLocation>>', '<<$ExitLocation2>>'
  591. end"
  592. end
  593. i += 1
  594. jump 'LearnSpellLoop'
  595. end
  596. killvar 'i'
  597. killvar '$ThisSpellName'
  598. killvar 'ThisArraySize'
  599. killvar '$ThisArrayName'
  600. killvar '$ExitLocation'
  601. killvar '$ExitLocation2'
  602. killvar 'spellDifficulty'
  603. end
  604. --- spellList ---------------------------------