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
c478ce70
Commit
c478ce70
authored
Jul 12, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0712
parent
489614df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gamedata/cache/resources_1.php
gamedata/cache/resources_1.php
+1
-1
include/game/fireseedevent.func.php
include/game/fireseedevent.func.php
+7
-3
No files found.
gamedata/cache/resources_1.php
View file @
c478ce70
...
...
@@ -70,7 +70,7 @@ $clubinfo = Array(
19
=>
'晶莹剔透'
,
//决死结界、晶莹剔透合并为晶莹剔透
20
=>
'元素大师'
,
#商店购买社团卡
21
=>
'码语行人'
,
#商店购买社团卡
22
=>
'
偶像大师'
,
#暂定名,
「除错大师」头衔奖励
22
=>
'
枫火歌者'
,
#
「除错大师」头衔奖励
98
=>
'换装迷宫'
,
99
=>
'第一形态'
);
...
...
include/game/fireseedevent.func.php
View file @
c478ce70
...
...
@@ -53,6 +53,8 @@ function fireseedrecruit($playerID, $fireseedID){
$brandingFireseed
[
'teampass'
]
=
'HerNameIsMAPLE'
;
#Monster Reborn that Fireseed NPC
$brandingFireseed
[
'hp'
]
=
$brandingFireseed
[
'mhp'
];
#Also drag them out from Horizon - cuz new update
$brandingFireseed
[
'horizon'
]
=
0
;
//DEBUG
$log
.=
"FIRESEED
$fireseedID
SUCCESSFULLY BRANDED WITH PLAYERID
$playerID
.<br>"
;
...
...
@@ -70,6 +72,7 @@ function fireseedenhance($rate, $fireseedID){
#Rate up
$rateupFireseed
[
'clbstatusd'
]
+=
$rate
;
#Enhacing Fireseed
//Ultimately those should be configable from a file.
for
(
$i
=
1
;
$i
<=
$rate
;
$i
++
){
$rateupFireseed
[
'mhp'
]
*=
1
+
$rate
/
10
;
$rateupFireseed
[
'msp'
]
*=
1
+
$rate
/
10
;
...
...
@@ -131,11 +134,11 @@ function repairfireseed($fireseedID){
}
function
spawnFireseed
(
$pls
,
$playerID
,
$intensity
){
function
spawnFireseed
(
$pls
,
$playerID
=
0
,
$intensity
=
0
){
global
$log
,
$db
,
$tablepre
;
//Create 1 真实的火种 at given $pls location.
$db
->
query
(
"INSERT INTO
{
$tablepre
}
players
/*
$db->query("INSERT INTO {$tablepre}players
(type, name, icon, hp, mhp, sp, msp, att, def, pls, lvl, money,
wep, wepk, wepe, weps, wepsk,
arb, arbk, arbe, arbs, arbsk,
...
...
@@ -152,7 +155,8 @@ function spawnFireseed($pls, $playerID, $intensity){
'◆残火','DA','1','1','b',
'◆永火','DF','1','1','M',
'◆焰火','A','1','1','H',
$playerID
,
$intensity
)"
);
$playerID, $intensity)"); */
addnpc
(
92
,
10
,
1
,
0
,
Array
(
'clbstatusc'
=>
$playerID
,
'clbstatusd'
=>
$intensity
,));
//DEBUG
$log
.=
"TRUE FIRESEED ADD SUCCESSFUL.<br>"
;
...
...
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