Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
phpdts
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
Nemo Ma
phpdts
Commits
c06313ae
Commit
c06313ae
authored
May 05, 2023
by
hisuinohoshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixxx
parent
35b6fb87
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
include/game/itemmain.func.php
include/game/itemmain.func.php
+1
-1
include/state.func.php
include/state.func.php
+4
-4
No files found.
include/game/itemmain.func.php
View file @
c06313ae
...
...
@@ -238,7 +238,7 @@ function trap(&$data=NULL){
// 陷阱有主 走击杀判定
$last
=
pre_kill_events
(
$wdata
,
$data
,
0
,
'trap'
);
// 检查是否复活
$revival_flag
=
revive_process
(
$wdata
,
$data
,
$active
);
$revival_flag
=
revive_process
(
$wdata
,
$data
,
0
);
// 没有复活 走完击杀流程
if
(
!
$revival_flag
)
final_kill_events
(
$wdata
,
$data
,
0
,
$last
);
player_save
(
$wdata
);
...
...
include/state.func.php
View file @
c06313ae
...
...
@@ -210,8 +210,8 @@
#奥罗拉复活效果
$revival_flag
=
18
;
//保存复活标记为通过光玉雨复活
addnews
(
$now
,
'wth18_revival'
,
$dname
);
$pd
[
'hp'
]
+=
min
(
$pd
[
'mhp'
],
max
(
$wth18_obbs
,
1
));
$pd
[
'sp'
]
+=
min
(
$pd
[
'msp'
],
max
(
$wth18_obbs
,
1
));
$pd
[
'hp'
]
=
max
(
$wth18_obbs
,
1
);
$pd
[
'sp'
]
=
max
(
$wth18_obbs
,
1
);
$pd
[
'state'
]
=
0
;
$log
.=
"<span class=
\"
lime
\"
>但是,飞舞着的光玉们钻进了
{
$pd
[
'nm'
]
}
的身体,让
{
$pd
[
'nm'
]
}
重新站了起来!</span><br>"
;;
return
$revival_flag
;
...
...
@@ -228,8 +228,8 @@
#奥罗拉复活效果
$revival_flag
=
17
;
//保存复活标记为通过奥罗拉复活
addnews
(
$now
,
'aurora_revival'
,
$dname
);
$pd
[
'hp'
]
+=
min
(
$pd
[
'mhp'
],
max
(
$aurora_dice
,
1
)
);
$pd
[
'sp'
]
+=
min
(
$pd
[
'msp'
],
max
(
$aurora_dice
,
1
)
);
$pd
[
'hp'
]
=
max
(
$aurora_dice
,
1
);
$pd
[
'sp'
]
=
max
(
$aurora_dice
,
1
);
$pd
[
'state'
]
=
0
;
$log
.=
"<span class=
\"
lime
\"
>但是,空气中弥漫着的奥罗拉让
{
$pd
[
'nm'
]
}
重新站了起来!</span><br>"
;;
return
$revival_flag
;
...
...
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