Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaoye
mycard
Commits
7f34a9cc
Commit
7f34a9cc
authored
Dec 24, 2011
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回合结束修正
parent
dd852d16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lib/action.rb
lib/action.rb
+0
-3
lib/scene_duel.rb
lib/scene_duel.rb
+3
-0
No files found.
lib/action.rb
View file @
7f34a9cc
...
@@ -71,9 +71,6 @@ class Action
...
@@ -71,9 +71,6 @@ class Action
end
end
def
run
def
run
$game
.
phase
=
phase
$game
.
phase
=
phase
if
@from_player
and
phase
==
:EP
Game_Event
.
push
Game_Event
::
Action
.
new
(
TurnEnd
.
new
(
true
,
$game
.
player_field
,
$game
.
turn_player
?
$game
.
turn
:
$game
.
turn
.
next
))
end
super
super
end
end
end
end
...
...
lib/scene_duel.rb
View file @
7f34a9cc
...
@@ -68,6 +68,9 @@ class Scene_Duel < Scene
...
@@ -68,6 +68,9 @@ class Scene_Duel < Scene
end
end
def
change_phase
(
phase
)
def
change_phase
(
phase
)
action
Action
::
ChangePhase
.
new
(
true
,
phase
)
action
Action
::
ChangePhase
.
new
(
true
,
phase
)
if
phase
==
:EP
action
Action
::
TurnEnd
.
new
(
true
,
$game
.
player_field
,
$game
.
turn_player
?
$game
.
turn
:
$game
.
turn
.
next
)
end
end
end
def
reset
def
reset
action
Action
::
Reset
.
new
(
true
)
action
Action
::
Reset
.
new
(
true
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment