|
@@ -13,6 +13,7 @@
|
|
|
! There are also defined lists of spells grouped together
|
|
|
! $combatSpells = Spells that can be used in Combat
|
|
|
! $nonComSpells = Non-Combat Spells, ones that can be executed in any location.
|
|
|
+! ---
|
|
|
! $basicSpells = basic spells that are taught by Tatiana
|
|
|
! $fireSpells = Fire-based spells
|
|
|
! $electSpells = Electricity based spells
|
|
@@ -20,7 +21,13 @@
|
|
|
! $airSpells = Air based spells
|
|
|
! $waterSpells = Water based spells
|
|
|
!
|
|
|
-! To create a new spell, fill out the meta-data as listed above, then create a matching section in the "spell" location for it
|
|
|
+! To create a new spell...
|
|
|
+! 1) fill out the meta-data as listed above, this describes stats abotu the spell, cost, difficulty, desc, etc.
|
|
|
+! 2) Typically, a spell will be in one of $combatSpells or $nonComSpells (this picks how the spell is executed
|
|
|
+! by the user), andcalso in one other of the lists ($basicSpells, $fireSpells, etc.), which picks where you
|
|
|
+! learn the spells.
|
|
|
+! 3) Then create a matching section in the "spell" location for it. This function in "spell" describes what the
|
|
|
+! spell actually does in game mechanics
|
|
|
|
|
|
|
|
|
!teleport
|
|
@@ -47,6 +54,18 @@ spellTime['berserk'] = 1
|
|
|
spellDiff['berserk'] = 30
|
|
|
$spellName['berserk'] = "Berserker Rage"
|
|
|
$spellDesc['berserk'] = "Enrage yourself with supernatural strength, speed, and endurance."
|
|
|
+!shower
|
|
|
+spellMana['shower'] = 500
|
|
|
+spellTime['shower'] = 1
|
|
|
+spellDiff['shower'] = 1
|
|
|
+$spellName['shower'] = "Shower"
|
|
|
+$spellDesc['shower'] = "Clean and refresh yourself as if you have taken a shower."
|
|
|
+!cosmetica
|
|
|
+spellMana['cosmetica'] = 10000
|
|
|
+spellTime['cosmetica'] = 5
|
|
|
+spellDiff['cosmetica'] = 50
|
|
|
+$spellName['cosmetica'] = "Cosmetica"
|
|
|
+$spellDesc['cosmetica'] = "Clean and tidy yourself, completely beautifying yourself; hair, makeup, grooming of all kinds."
|
|
|
!glamour
|
|
|
spellMana['glamour'] = 500
|
|
|
spellTime['glamour'] = 1
|
|
@@ -314,6 +333,8 @@ $nonComSpells[0] = 'heal'
|
|
|
$nonComSpells[1] = 'regenerate'
|
|
|
$nonComSpells[2] = 'painblock'
|
|
|
$nonComSpells[3] = 'berserk'
|
|
|
+$nonComSpells[4] = 'shower'
|
|
|
+$nonComSpells[5] = 'cosmetica'
|
|
|
|
|
|
|
|
|
! Basic Spells
|
|
@@ -327,6 +348,8 @@ $basicSpells[6] = 'haste'
|
|
|
$basicSpells[7] = 'regenerate'
|
|
|
$basicSpells[8] = 'painblock'
|
|
|
$basicSpells[9] = 'berserk'
|
|
|
+$basicSpells[10] = 'shower'
|
|
|
+$basicSpells[11] = 'cosmetica'
|
|
|
|
|
|
|
|
|
! Elemental Spell Groups
|