ソースを参照

[fixes] wrong return location in ender

julzor 5 年 前
コミット
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