Browse Source

[fixed] I should have put these on new lines. Sorry!

Kevin_Smarts 5 months ago
parent
commit
adaf25c8be
1 changed files with 6 additions and 3 deletions
  1. 6 3
      locations/fight.qsrc

+ 6 - 3
locations/fight.qsrc

@@ -543,11 +543,14 @@ if $ARGS[0] = 'Attack':
 	!! Flavor text for size of the hit.
 	fightAtk['TargetHealthLoss'] = fightAtk['TargetHealthBefore'] - dyneval('result = <<$fightAtk_TargetType>>_health[<<fightAtk_TargetNumber>>]')
 	!! If blow does over half health in damage, causes stun
-	if fightAtk['TargetHealthLoss']*2 > fightAtk['TargetHealthBefore']: gs 'fight', 'devastating'
+	if fightAtk['TargetHealthLoss']*2 > fightAtk['TargetHealthBefore']:
+		gs 'fight', 'devastating'
 	!! Very hard hit
-	elseif fightAtk['TargetHealthLoss'] > 50: gs 'fight', 'hard'
+	elseif fightAtk['TargetHealthLoss'] > 50:
+		gs 'fight', 'hard'
 	!! Does physical damage, but not a lot
-	elseif fightAtk['TargetHealthLoss'] > 0: gs 'fight', 'light'
+	elseif fightAtk['TargetHealthLoss'] > 0:
+		gs 'fight', 'light'
 	!! No physical damage was done.
 	else
 		if $fightAtk_TargetType = 'pcs' and fightAtk_TargetNumber = 0: