|
@@ -8,13 +8,19 @@
|
|
! spellTime['spellname'] = How much time will pass in the casting of the spell
|
|
! spellTime['spellname'] = How much time will pass in the casting of the spell
|
|
! spellDiff['spellname'] = Difficulty to learn and cast this spell
|
|
! spellDiff['spellname'] = Difficulty to learn and cast this spell
|
|
! $spellName['spellname'] = Pretty name for the spell
|
|
! $spellName['spellname'] = Pretty name for the spell
|
|
-! $sellDesc['spellname'] = Description of what the spell does.
|
|
|
|
|
|
+! $psellDesc['spellname'] = Description of what the spell does.
|
|
|
|
+! $spellReq['spellname'] = Prerequisite Spell needed to learn this spell
|
|
|
|
+! $spellOptDesc['spellname'] = name of an array of Option Descriptions for this spell
|
|
|
|
+! $spellOptVal['spellname'] = name of an array of values to pass for Spell Options
|
|
!
|
|
!
|
|
! There are also defined lists of spells grouped together
|
|
! There are also defined lists of spells grouped together
|
|
! $combatSpells = Spells that can be used in Combat
|
|
! $combatSpells = Spells that can be used in Combat
|
|
! $nonComSpells = Non-Combat Spells, ones that can be executed in any location.
|
|
! $nonComSpells = Non-Combat Spells, ones that can be executed in any location.
|
|
! ---
|
|
! ---
|
|
! $basicSpells = basic spells that are taught by Tatiana
|
|
! $basicSpells = basic spells that are taught by Tatiana
|
|
|
|
+! $healSpells = Healing Spells
|
|
|
|
+! $beautySpells = Beauty Spells
|
|
|
|
+! $librarySpells = Spelsl Researchable in the Library
|
|
! $fireSpells = Fire-based spells
|
|
! $fireSpells = Fire-based spells
|
|
! $electSpells = Electricity based spells
|
|
! $electSpells = Electricity based spells
|
|
! $earthSpells = Earth magic spells
|
|
! $earthSpells = Earth magic spells
|
|
@@ -60,6 +66,7 @@ spellTime['curewounds2'] = 60
|
|
spellDiff['curewounds2'] = 75
|
|
spellDiff['curewounds2'] = 75
|
|
$spellName['curewounds2'] = "Greater Cure Wounds"
|
|
$spellName['curewounds2'] = "Greater Cure Wounds"
|
|
$spellDesc['curewounds2'] = "You feel your body heal to perfection."
|
|
$spellDesc['curewounds2'] = "You feel your body heal to perfection."
|
|
|
|
+$spellReq['curewounds2'] = 'curewounds'
|
|
!painblock
|
|
!painblock
|
|
spellMana['painblock'] = 1000
|
|
spellMana['painblock'] = 1000
|
|
spellTime['painblock'] = 1
|
|
spellTime['painblock'] = 1
|
|
@@ -78,12 +85,60 @@ spellTime['shower'] = 1
|
|
spellDiff['shower'] = 1
|
|
spellDiff['shower'] = 1
|
|
$spellName['shower'] = "Shower"
|
|
$spellName['shower'] = "Shower"
|
|
$spellDesc['shower'] = "Clean and refresh yourself as if you have taken a shower."
|
|
$spellDesc['shower'] = "Clean and refresh yourself as if you have taken a shower."
|
|
|
|
+!makeup
|
|
|
|
+spellMana['makeup'] = 100
|
|
|
|
+spellTime['makeup'] = 5
|
|
|
|
+spellDiff['makeup'] = 15
|
|
|
|
+$spellName['makeup'] = "Makeup"
|
|
|
|
+$spellDesc['makeup'] = "Apply Makeup to yourself magically."
|
|
|
|
+$spellOptDesc['makeup'] = '$MakeupSet'
|
|
|
|
+$spellOptVal['makeup'] = '$MakeupSetVal'
|
|
|
|
+if $routine1+$routine2+$routine3+$routine4 = '':
|
|
|
|
+ killvar '$MakeupSet'
|
|
|
|
+ killvar '$MakeupSetVal'
|
|
|
|
+ $MakeupSet[0] = 'No Makeup'
|
|
|
|
+ $MakeupSetVal[0] = '000'
|
|
|
|
+ $MakeupSet[1] = 'Light Makeup'
|
|
|
|
+ $makeupSetVal[1] = '110'
|
|
|
|
+ $MakeupSet[2] = 'Vibrant Makeup'
|
|
|
|
+ $makeupSetVal[2] = '210'
|
|
|
|
+ $MakeupSet[3] = 'Heavy Makeup'
|
|
|
|
+ $makeupSetVal[3] = '310'
|
|
|
|
+else
|
|
|
|
+ killvar '$MakeupSet'
|
|
|
|
+ killvar '$MakeupSetVal'
|
|
|
|
+ $MakeupSet[0] = 'No Makeup'
|
|
|
|
+ $MakeupSetVal[0] = '000'
|
|
|
|
+ i=1
|
|
|
|
+ if $routine1 ! '':
|
|
|
|
+ $MakeupSet[i] = $routine1custname
|
|
|
|
+ $MakeupSetVal[i] = $routine1
|
|
|
|
+ i += 1
|
|
|
|
+ end
|
|
|
|
+ if $routine2 ! '':
|
|
|
|
+ $MakeupSet[i] = $routine2custname
|
|
|
|
+ $MakeupSetVal[i] = $routine2
|
|
|
|
+ i += 1
|
|
|
|
+ end
|
|
|
|
+ if $routine3 ! '':
|
|
|
|
+ $MakeupSet[i] = $routine3custname
|
|
|
|
+ $MakeupSetVal[i] = $routine3
|
|
|
|
+ i += 1
|
|
|
|
+ end
|
|
|
|
+ if $routine4 ! '':
|
|
|
|
+ $MakeupSet[i] = $routine4custname
|
|
|
|
+ $MakeupSetVal[i] = $routine4
|
|
|
|
+ i += 1
|
|
|
|
+ end
|
|
|
|
+ killvar 'i'
|
|
|
|
+end
|
|
!cosmetica
|
|
!cosmetica
|
|
spellMana['cosmetica'] = 10000
|
|
spellMana['cosmetica'] = 10000
|
|
spellTime['cosmetica'] = 5
|
|
spellTime['cosmetica'] = 5
|
|
spellDiff['cosmetica'] = 50
|
|
spellDiff['cosmetica'] = 50
|
|
$spellName['cosmetica'] = "Cosmetica"
|
|
$spellName['cosmetica'] = "Cosmetica"
|
|
$spellDesc['cosmetica'] = "Clean and tidy yourself, completely beautifying yourself; hair, makeup, grooming of all kinds."
|
|
$spellDesc['cosmetica'] = "Clean and tidy yourself, completely beautifying yourself; hair, makeup, grooming of all kinds."
|
|
|
|
+$spellReq['cosmetica'] = 'makeup'
|
|
!glamour
|
|
!glamour
|
|
spellMana['glamour'] = 500
|
|
spellMana['glamour'] = 500
|
|
spellTime['glamour'] = 1
|
|
spellTime['glamour'] = 1
|
|
@@ -133,6 +188,7 @@ spellTime['multiclone'] = 0
|
|
spellDiff['multiclone'] = 2
|
|
spellDiff['multiclone'] = 2
|
|
$spellName['multiclone'] = "Multi-Clone"
|
|
$spellName['multiclone'] = "Multi-Clone"
|
|
$spellDesc['multiclone'] = "Summon three clones of yourself and slip out of the enemys sight."
|
|
$spellDesc['multiclone'] = "Summon three clones of yourself and slip out of the enemys sight."
|
|
|
|
+$spellReq['multiclone'] = 'clone'
|
|
!energo
|
|
!energo
|
|
spellMana['energo'] = 50
|
|
spellMana['energo'] = 50
|
|
spellTime['energo'] = 0
|
|
spellTime['energo'] = 0
|
|
@@ -169,6 +225,7 @@ spellTime['burninghands'] = 0
|
|
spellDiff['burninghands'] = 7
|
|
spellDiff['burninghands'] = 7
|
|
$spellName['burninghands'] = "Burning Hands"
|
|
$spellName['burninghands'] = "Burning Hands"
|
|
$spellDesc['burninghands'] = "A torrent of flames jets from your hands."
|
|
$spellDesc['burninghands'] = "A torrent of flames jets from your hands."
|
|
|
|
+$spellReq['burninghands'] = 'scaldingtouch'
|
|
!firebarrier
|
|
!firebarrier
|
|
spellMana['firebarrier'] = 150
|
|
spellMana['firebarrier'] = 150
|
|
spellTime['firebarrier'] = 0
|
|
spellTime['firebarrier'] = 0
|
|
@@ -211,6 +268,7 @@ spellTime['1000birds'] = 0
|
|
spellDiff['1000birds'] = 9
|
|
spellDiff['1000birds'] = 9
|
|
$spellName['1000birds'] = "Dance of a Thousand Birds"
|
|
$spellName['1000birds'] = "Dance of a Thousand Birds"
|
|
$spellDesc['1000birds'] = "The air is filled with small lightning bolts leaping through the air with shrieks."
|
|
$spellDesc['1000birds'] = "The air is filled with small lightning bolts leaping through the air with shrieks."
|
|
|
|
+$spellReq['1000birds'] = 'lightning'
|
|
!dancingsphere
|
|
!dancingsphere
|
|
spellMana['dancingsphere'] = 500
|
|
spellMana['dancingsphere'] = 500
|
|
spellTime['dancingsphere'] = 0
|
|
spellTime['dancingsphere'] = 0
|
|
@@ -355,7 +413,8 @@ $nonComSpells[4] = 'curewounds2'
|
|
$nonComSpells[5] = 'painblock'
|
|
$nonComSpells[5] = 'painblock'
|
|
$nonComSpells[6] = 'berserk'
|
|
$nonComSpells[6] = 'berserk'
|
|
$nonComSpells[7] = 'shower'
|
|
$nonComSpells[7] = 'shower'
|
|
-$nonComSpells[8] = 'cosmetica'
|
|
|
|
|
|
+$nonComSpells[8] = 'makeup'
|
|
|
|
+$nonComSpells[9] = 'cosmetica'
|
|
|
|
|
|
|
|
|
|
! Basic Spells
|
|
! Basic Spells
|
|
@@ -366,14 +425,27 @@ $basicSpells[3] = 'wind'
|
|
$basicSpells[4] = 'multiclone'
|
|
$basicSpells[4] = 'multiclone'
|
|
$basicSpells[5] = 'energo'
|
|
$basicSpells[5] = 'energo'
|
|
$basicSpells[6] = 'haste'
|
|
$basicSpells[6] = 'haste'
|
|
-$basicSpells[7] = 'regenerate'
|
|
|
|
-$basicSpells[8] = 'curedisease'
|
|
|
|
-$basicSpells[9] = 'curewounds'
|
|
|
|
-$basicSpells[10] = 'curewounds2'
|
|
|
|
-$basicSpells[11] = 'painblock'
|
|
|
|
-$basicSpells[12] = 'berserk'
|
|
|
|
-$basicSpells[13] = 'shower'
|
|
|
|
-$basicSpells[14] = 'cosmetica'
|
|
|
|
|
|
+$basicSpells[7] = 'berserk'
|
|
|
|
+
|
|
|
|
+!Healing Spells
|
|
|
|
+$healSpells[0] = 'painblock'
|
|
|
|
+$healSpells[1] = 'curewounds'
|
|
|
|
+$healSpells[2] = 'curewounds2'
|
|
|
|
+$healSpells[3] = 'curedisease'
|
|
|
|
+$healSpells[4] = 'heal'
|
|
|
|
+$healSpells[5] = 'regenerate'
|
|
|
|
+
|
|
|
|
+! Beauty Spells
|
|
|
|
+$beautySpells[0] = 'shower'
|
|
|
|
+$beautySpells[1] = 'makeup'
|
|
|
|
+$beautySpells[2] = 'cosmetica'
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+! Researchable Spells
|
|
|
|
+$librarySpells[0] = 'painblock'
|
|
|
|
+$librarySpells[1] = 'shower'
|
|
|
|
+$librarySpells[2] = 'makeup'
|
|
|
|
+$librarySpells[3] = 'cosmetica'
|
|
|
|
|
|
|
|
|
|
! Elemental Spell Groups
|
|
! Elemental Spell Groups
|
|
@@ -427,7 +499,7 @@ if $ARGS[0] = 'teacherActions':
|
|
spellDifficulty = $spellDiff[$ThisSpellName]
|
|
spellDifficulty = $spellDiff[$ThisSpellName]
|
|
if spellDifficulty = 0: spellDifficulty = 1
|
|
if spellDifficulty = 0: spellDifficulty = 1
|
|
if i < ThisArraySize:
|
|
if i < ThisArraySize:
|
|
- if pcs_magik >= spellDifficulty and spellKnown[$ThisSpellName] = 0:
|
|
|
|
|
|
+ if pcs_magik >= spellDifficulty and spellKnown[$ThisSpellName] = 0 and ($spellReq[$ThisSpellName] = '' or spellKnown[$spellReq[$ThisSpellName]]):
|
|
dynamic "act 'Learn <<$spellName[$ThisSpellName]>> (1:00)':
|
|
dynamic "act 'Learn <<$spellName[$ThisSpellName]>> (1:00)':
|
|
cla
|
|
cla
|
|
if pcs_mana >= 1000:
|
|
if pcs_mana >= 1000:
|