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
ef28b660
Commit
ef28b660
authored
Jan 01, 2024
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo
TYYYYYYYPO!! SHOCK SHOCK SHOCK SHOCK SHOCK AAAAAEEEEHIIAAAAAAAA HEARTHEARTHEART
parent
fb9c7c3f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
2 deletions
+26
-2
include/game/item.func.php
include/game/item.func.php
+2
-2
include/game/itemmain.func.php
include/game/itemmain.func.php
+7
-0
include/state.func.php
include/state.func.php
+17
-0
No files found.
include/game/item.func.php
View file @
ef28b660
...
...
@@ -2264,7 +2264,7 @@ function itemuse($itmn,&$data=NULL) {
if
(
$clbpara
[
'BGMBrand'
]
==
'crimson'
){
$check
=
diceroll
(
20
);
if
(
$check
>
17
){
$log
.=
"<span class=
\"
ltcrimson
\"
>你想到了红暮挥舞红杀铁剑的英姿,<br>
,
手上的刀磨得更快了!<br></span>"
;
$log
.=
"<span class=
\"
ltcrimson
\"
>你想到了红暮挥舞红杀铁剑的英姿,<br>手上的刀磨得更快了!<br></span>"
;
$wepe
+=
$check
;
}
}
...
...
@@ -2312,7 +2312,7 @@ function itemuse($itmn,&$data=NULL) {
if
(
$clbpara
[
'BGMBrand'
]
==
'crimson'
){
$check
=
diceroll
(
20
);
if
(
$check
>
17
){
$log
.=
"<span class=
\"
ltcrimson
\"
>你想到了红暮挥舞红杀铁锤的英姿,<br>
,
手上的钉子打得更快了!<br><span>"
;
$log
.=
"<span class=
\"
ltcrimson
\"
>你想到了红暮挥舞红杀铁锤的英姿,<br>手上的钉子打得更快了!<br><span>"
;
$wepe
+=
$check
;
}
}
...
...
include/game/itemmain.func.php
View file @
ef28b660
...
...
@@ -1371,6 +1371,13 @@ function getcorpse($item,&$data=NULL)
$log
.=
"你销毁了
{
$edata
[
'name'
]
}
的尸体。<br>但这一切值得吗……?<br>"
;
# 销毁尸体rp结算
$rp_up
=
diceroll
(
$rpup_destory_corpse
);
if
(
$clbpara
[
'BGMBrand'
]
==
'azure'
){
$check
=
diceroll
(
20
);
if
(
$check
>
15
){
$log
.=
"<span class=
\"
ltazure
\"
>不过你想到了蓝凝的天真烂漫没心没肺,<br>因此没受到销毁尸体的罪恶感影响。<br></span>"
;
$rp_up
=
0
;
}
}
include_once
GAME_ROOT
.
'./include/state.func.php'
;
rpup_rev
(
$data
,
$rp_up
);
...
...
include/state.func.php
View file @
ef28b660
...
...
@@ -329,6 +329,16 @@
if
(
$pd
[
'name'
]
==
'守卫者 静流'
&&
$pa
[
'final_damage'
]
>=
$pd
[
'mhp'
])
$pa
[
'clbpara'
][
'achvars'
][
'ach505'
]
=
1
;
}
# Process 百命猫 Kills
if
(
$pd
[
'name'
]
==
'百命猫'
){
$pd
[
'clbpara'
][
'lifedestroyed'
]
+=
1
;
//make her disappear from map if all life are destroyed.
if
(
$pd
[
'clbpara'
][
'lifedestroyed'
]
>
111
){
$pd
[
'hp'
]
=
0
;
$pd
[
'map'
]
=
254
;
# Stay with the corpses, dear kitty.
}
}
# 保存击杀种火或小兵的记录
if
(
empty
(
$pa
[
'clbpara'
][
'achvars'
][
'kill_minion'
])
&&
(
$pd
[
'type'
]
==
90
||
$pd
[
'type'
]
==
91
||
$pd
[
'type'
]
==
92
))
$pa
[
'clbpara'
][
'achvars'
][
'kill_minion'
]
=
1
;
...
...
@@ -480,6 +490,13 @@
{
# 杀人rp结算
$rpup
=
$pd
[
'type'
]
?
20
:
max
(
80
,
$pd
[
'rp'
]);
if
(
$pa
[
'clbpara'
][
'BGMBrand'
]
==
'azure'
){
$check
=
diceroll
(
20
);
if
(
$check
>
17
){
$pa
[
'log'
]
.=
"<span class=
\"
ltazure
\"
>你想到了蓝凝的天真烂漫及没心没肺,<br>因此没受到杀人的罪恶感影响。<br></span>"
;
$rpup
=
0
;
}
}
rpup_rev
(
$pa
,
$rpup
);
return
;
}
...
...
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