1
0
Преглед на файлове

Changed order of clearing screen after spellcast to make better sense.

KeyMasterOfGozer преди 4 години
родител
ревизия
2bf529779d
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 1
      locations/fight.qsrc
  2. 3 3
      locations/spellBook.qsrc

+ 1 - 1
locations/fight.qsrc

@@ -663,7 +663,7 @@ if $ARGS[0] = 'spellcast':
 	*clr
 	cla
 	act 'Next': gt 'fight', 'main'
-	func('spellBook', 'targetable', '$combatSpells', 'gt ''fight'', ''main''', 'gt ''fight'', ''main''')
+	func('spellBook', 'targetable', '$combatSpells', 'gt ''fight'', ''main''', ' ')
 end
 
 

+ 3 - 3
locations/spellBook.qsrc

@@ -126,14 +126,14 @@ elseif $spellBookVar['Type'] = 'targetable':
 				<td align='center'>"
 			if $spellTarget[$ThisSpellName] = 'self':
 				$tmpHTMLCode += " 
-				<a href=""EXEC: gs 'castSpell', '<<$ThisSpellName>>', 'pcs', 0, 0 & <<$spellBookVar['CodeAfterSpell']>>"">You</a>"
+				<a href=""EXEC: *clr & gs 'castSpell', '<<$ThisSpellName>>', 'pcs', 0, 0 & <<$spellBookVar['CodeAfterSpell']>>"">You</a>"
 			elseif $spellTarget[$ThisSpellName] = 'team':
 				n=0
 				:RowCodeLoop96
 				if n < arrsize('pcs_health'):
 					$spellBookVar['tmpName']= dyneval('$result = $pcs_name[<<n>>]')
 					$tmpHTMLCode += " 
-					<a href=""EXEC: gs 'castSpell', '<<$ThisSpellName>>', 'pcs', <<n>>, 0 & <<$spellBookVar['CodeAfterSpell']>>""><<$spellBookVar['tmpName']>></a>
+					<a href=""EXEC: *clr & gs 'castSpell', '<<$ThisSpellName>>', 'pcs', <<n>>, 0 & <<$spellBookVar['CodeAfterSpell']>>""><<$spellBookVar['tmpName']>></a>
 					<br>"
 					n += 1
 					jump 'RowCodeLoop96'
@@ -144,7 +144,7 @@ elseif $spellBookVar['Type'] = 'targetable':
 				if n < arrsize('opp_health'):
 					$spellBookVar['tmpName']= dyneval('$result = $opp_name[<<n>>]')
 					$tmpHTMLCode += " 
-					<a href=""EXEC: gs 'castSpell', '<<$ThisSpellName>>', 'opp', <<n>>, 0 & <<$spellBookVar['CodeAfterSpell']>>""><<$spellBookVar['tmpName']>></a>
+					<a href=""EXEC: *clr & gs 'castSpell', '<<$ThisSpellName>>', 'opp', <<n>>, 0 & <<$spellBookVar['CodeAfterSpell']>>""><<$spellBookVar['tmpName']>></a>
 					<br>"
 					n += 1
 					jump 'RowCodeLoop97'