Bläddra i källkod

Changed variable nameas its used in combat and was causing issues

KevinSmarts 6 år sedan
förälder
incheckning
b8469bab4e
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. 4 4
      locations/indik.qsrc

+ 4 - 4
locations/indik.qsrc

@@ -43,7 +43,7 @@ else
 	a1 = ARGS[2]
 	if a > 100:a = 100
 	if a < 0:a = 0
-	if ARGS[3] > 0:damage = ARGS[3]
+	if ARGS[3] > 0: indik_damage = ARGS[3]
 
 	if $ARGS[0] = '1':
 		if Enable_Android = 1:
@@ -102,7 +102,7 @@ else
 			end
 		else
 			j = a/5
-			damage = damage/5
+			indik_damage = indik_damage/5
 			$ind = '<font face="courier new" size = <<i>>> </font>'
 			indik_counter = 0
 			:indik2
@@ -110,7 +110,7 @@ else
 				$ind += '<font face="courier new" size = <<i>>>█</font>'
 				indik_counter += 1
 				jump 'indik2'
-			elseif indik_counter < damage:
+			elseif indik_counter < indik_damage:
 				$ind += '<font face="courier new" size = <<i>>>░</font>'
 				indik_counter += 1
 				jump 'indik2'
@@ -121,7 +121,7 @@ else
 			end
 			killvar 'indik_counter'
 			killvar 'j'
-			killvar 'damage'
+			killvar 'indik_damage'
 			$ind += '<font face="courier new" size = <<i>>> </font>'
 			if a >= 90:
 				$ind = '<font color=#ff0000>' + $ind + '</font>'