1
0
Просмотр исходного кода

[fixes] wrong return location in ender

julzor 5 лет назад
Родитель
Сommit
14aff51861
1 измененных файлов с 11 добавлено и 2 удалено
  1. 11 2
      locations/ender.qsrc

+ 11 - 2
locations/ender.qsrc

@@ -334,11 +334,20 @@ if $ARGS[0] = 'win':
 		if rikudo > 10:rikudo += 100
 		pcs_dom += 1
 		Win += 1
-		money += RAND(500,2000)
+		money += rand(500,2000)
+		gs 'stat'
 
 		'You''ve managed to batter one of your attackers face while you broke the others nose. As he spits you can see that his spit is mixed with blood as he can barely hold his hand up to surrender. You quickly run over to them and empty the cash from their pockets and mock them that this should cover you expenses. The attacker quickly rise up and run away in fear.'
 
-		act 'Logout':gt'street'
+		act 'Go home':
+			if curr_home = 1:
+				gt 'pavResidential'
+			elseif curr_home = 2:
+				gt 'gadukino'
+			elseif curr_home = 3:
+				gt 'street'
+			end
+		end
 	elseif ZverevaFight = 1:
 		zverSlutQW = 1
 		lariskaQwestStart = daystart + 7