|
@@ -66,7 +66,7 @@ if $ARGS[0] = 'expfame':
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'game':
|
|
|
-
|
|
|
+
|
|
|
chess_move += 1
|
|
|
chess_time = rand(1,3)
|
|
|
minut += chess_time
|
|
@@ -96,7 +96,7 @@ if $ARGS[0] = 'game':
|
|
|
'Stalemate! You have drawn the match against '+$chess_name+'!'
|
|
|
'You and '+$chess_name+' could not find a way to win the match.'
|
|
|
gs 'chessplay', 'expfame', 1
|
|
|
-
|
|
|
+
|
|
|
act 'Return': gt 'kruchess'
|
|
|
elseif chess_GG <= 0:
|
|
|
*clr & cla
|
|
@@ -104,8 +104,8 @@ if $ARGS[0] = 'game':
|
|
|
'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/lose' + rand(1,1) + '.jpg"></center>'
|
|
|
*nl
|
|
|
'Checkmate! You have lost the match against '+$chess_name+'!'
|
|
|
- gs 'chessplay', 'fame', 0
|
|
|
-
|
|
|
+ gs 'chessplay', 'expfame', 0
|
|
|
+
|
|
|
act 'Return': gt 'kruchess'
|
|
|
elseif chess_com <= 0:
|
|
|
*clr & cla
|
|
@@ -115,7 +115,7 @@ if $ARGS[0] = 'game':
|
|
|
'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/chess/win' + rand(1,1) + '.jpg"></center>'
|
|
|
*nl
|
|
|
'Checkmate! You have won the match against '+$chess_name+'!'
|
|
|
- gs 'chessplay', 'fame', 2
|
|
|
+ gs 'chessplay', 'expfame', 2
|
|
|
|
|
|
act 'Return': gt 'kruchess'
|
|
|
elseif chess_moves >= chess_move_limit:
|
|
@@ -125,7 +125,7 @@ if $ARGS[0] = 'game':
|
|
|
*nl
|
|
|
'Draw! You agree to end the match with '+$chess_name+'.'
|
|
|
'You and '+$chess_name+' have both used too many moves and neither could find a way to win the match.'
|
|
|
- gs 'chessplay', 'fame', 1
|
|
|
+ gs 'chessplay', 'expfame', 1
|
|
|
|
|
|
act 'Return': gt 'kruchess'
|
|
|
elseif total_chess_time >= chess_time_limit:
|
|
@@ -135,7 +135,7 @@ if $ARGS[0] = 'game':
|
|
|
*nl
|
|
|
'Draw! You agree to end the match with '+$chess_name+'.'
|
|
|
'You and '+$chess_name+' have both used too much time and neither could find a way to win the match.'
|
|
|
- gs 'chessplay', 'fame', 1
|
|
|
+ gs 'chessplay', 'expfame', 1
|
|
|
|
|
|
act 'Return': gt 'kruchess'
|
|
|
else
|
|
@@ -241,7 +241,7 @@ if $ARGS[0] = 'moves':
|
|
|
*nl
|
|
|
'You are on move '+str(chess_move)+' out of '+str(chess_move_limit)
|
|
|
'You are on minute '+str(total_chess_time)+' out of '+str(chess_time_limit)
|
|
|
-
|
|
|
+
|
|
|
chess_GG -= 1
|
|
|
chess_com -= 1
|
|
|
|
|
@@ -461,7 +461,7 @@ if $ARGS[0] = 'advantage':
|
|
|
elseif $ARGS[1] = 'tactical' or $ARGS[1] = 'trap':
|
|
|
chess_pos = 1
|
|
|
chess_neg = -1
|
|
|
- chess_adv = 1
|
|
|
+ chess_adv = 1
|
|
|
end
|
|
|
|
|
|
if $ARGS[2] = 'good':
|
|
@@ -484,7 +484,7 @@ if $ARGS[0] = 'advantage':
|
|
|
chess_GG = chess_GG - chess_adv - chess_diff
|
|
|
chess_com = chess_com + chess_adv + chess_diff
|
|
|
elseif chess_ind < chess_neg:
|
|
|
- 'You are more skilled than your opponent and prevent them from capitalizing on their advantage.'
|
|
|
+ 'You are more skilled than your opponent and prevent them from capitalizing on their advantage.'
|
|
|
else
|
|
|
'You are about equally skilled as your opponent and you lose some advantage.'
|
|
|
chess_GG = chess_GG - chess_adv/2 - chess_diff/2
|