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
syntax_j
mycard
Commits
900c79a9
Commit
900c79a9
authored
Mar 01, 2012
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正场地背景判断、修正解析CardInfo消息的一个崩溃
parent
0dc031ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
graphics/field/action_STOP.png
graphics/field/action_STOP.png
+0
-0
lib/iduel/action.rb
lib/iduel/action.rb
+2
-0
lib/scene_duel.rb
lib/scene_duel.rb
+1
-1
No files found.
graphics/field/action_STOP.png
deleted
100644 → 0
View file @
0dc031ca
This diff was suppressed by a .gitattributes entry.
lib/iduel/action.rb
View file @
900c79a9
...
@@ -193,6 +193,8 @@ class Action
...
@@ -193,6 +193,8 @@ class Action
CardInfo
.
new
(
card
,
$1
.
to_sym
,
$5
==
"?"
?
nil
:
$5
.
to_i
,
$6
==
"?"
?
nil
:
$6
.
to_i
,
$3
.
to_sym
,
$2
.
to_sym
,
$4
.
to_sym
,
$7
)
CardInfo
.
new
(
card
,
$1
.
to_sym
,
$5
==
"?"
?
nil
:
$5
.
to_i
,
$6
==
"?"
?
nil
:
$6
.
to_i
,
$3
.
to_sym
,
$2
.
to_sym
,
$4
.
to_sym
,
$7
)
when
/(魔法|陷阱)种类:(.+),效果:(.+)/
when
/(魔法|陷阱)种类:(.+),效果:(.+)/
CardInfo
.
new
(
card
,
(
$2
+
$1
).
to_sym
,
nil
,
nil
,
nil
,
nil
,
nil
,
$3
)
CardInfo
.
new
(
card
,
(
$2
+
$1
).
to_sym
,
nil
,
nil
,
nil
,
nil
,
nil
,
$3
)
else
Unknown
.
new
str
end
end
when
/^※(.*)$/
when
/^※(.*)$/
Chat
.
new
from_player
,
$1
Chat
.
new
from_player
,
$1
...
...
lib/scene_duel.rb
View file @
900c79a9
...
@@ -169,7 +169,7 @@ class Scene_Duel < Scene
...
@@ -169,7 +169,7 @@ class Scene_Duel < Scene
super
super
end
end
def
refresh
def
refresh
@fieldback_window
.
card
=
$game
.
player_field
.
field
[
0
]
||
$game
.
opponent_field
.
field
[
0
]
@fieldback_window
.
card
=
$game
.
player_field
.
field
[
0
]
&&
$game
.
player_field
.
field
[
0
].
card_type
==
:
场地魔法
&&
$game
.
player_field
.
field
[
0
].
position
==
:attack
?
$game
.
player_field
.
field
[
0
]
:
$game
.
opponent_field
.
field
[
0
]
&&
$game
.
opponent_field
.
field
[
0
].
card_type
==
:
场地魔法
&&
$game
.
opponent_field
.
field
[
0
].
position
==
:attack
?
$game
.
opponent_field
.
field
[
0
]
:
nil
@player_field_window
.
refresh
@player_field_window
.
refresh
@opponent_field_window
.
refresh
@opponent_field_window
.
refresh
@phases_window
.
player
=
$game
.
turn_player
@phases_window
.
player
=
$game
.
turn_player
...
...
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