Browse Source

[fixed] thieffight didn't get cleared if the player was a succubus

julzor 5 years ago
parent
commit
02130b44d2
2 changed files with 5 additions and 4 deletions
  1. 3 4
      locations/ender.qsrc
  2. 2 0
      locations/succubus.qsrc

+ 3 - 4
locations/ender.qsrc

@@ -308,6 +308,7 @@ if $ARGS[0] = 'win':
 		act 'Further':gt'street'
 		exit
 	elseif RapistFight = 1 or ThiefFight = 1:
+		ThiefFight = 0
 		if succubusQW >= 4 and scpopt < 2:
 			$sclocrt = 'ender'
 			$scargrt = 'win'
@@ -315,6 +316,7 @@ if $ARGS[0] = 'win':
 			scpopt = 1
 			gt 'succubus', 'RapistFight'
 		end
+		RapistFight = 0
 		scpopt = 0
 		if rikudo > 10:rikudo += 100
 		pcs_dom += 1
@@ -322,10 +324,7 @@ if $ARGS[0] = 'win':
 		money += rand(500,2000)
 
 		'You fought back the '+iif(RapistFight = 1, 'rapist', 'thief')+' and took his wallet.'
-		
-		RapistFight = 0
-		ThiefFight = 0
-
+						
 		act 'Leave': gt $loc, $metka
 		exit
 	elseif DimaFight = 1:

+ 2 - 0
locations/succubus.qsrc

@@ -103,11 +103,13 @@ if $ARGS[0] = 'RapistFight':
 			scrand -= 1
 			scfwon = 0
 			RapistFight = 0
+			ThiefFight = 0
 			if rikudo > 10:rikudo += 100
 			pcs_dom += 1
 			Win += 1
 		elseif RapistFight = 1:
 			RapistFight = 0
+			ThiefFight = 0
 			SUB += 1
 			Loss += 1
 			if rikudo > 10:rikudo -= 10