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
06007463
Commit
06007463
authored
Aug 06, 2023
by
satsuki8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复,杂项调整,添加诅咒技能和怒气回复道具
parent
0077ac26
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
121 additions
and
27 deletions
+121
-27
gamedata/cache/clubskills_1.php
gamedata/cache/clubskills_1.php
+13
-1
gamedata/cache/elementmix_1.php
gamedata/cache/elementmix_1.php
+3
-0
gamedata/cache/gamecfg_1.php
gamedata/cache/gamecfg_1.php
+1
-1
gamedata/cache/resources_1.php
gamedata/cache/resources_1.php
+4
-2
gamedata/cache/shopitem_1.php
gamedata/cache/shopitem_1.php
+13
-5
gamedata/cache/tooltip_1.php
gamedata/cache/tooltip_1.php
+2
-0
gamedata/club21cfg.php
gamedata/club21cfg.php
+3
-3
include/game/item.func.php
include/game/item.func.php
+21
-0
include/game/itemmain.func.php
include/game/itemmain.func.php
+36
-6
include/game/revcombat_extra.func.php
include/game/revcombat_extra.func.php
+16
-1
include/state.func.php
include/state.func.php
+5
-2
templates/default/shop.htm
templates/default/shop.htm
+1
-1
templates/default/sp_add_trait.htm
templates/default/sp_add_trait.htm
+1
-2
templates/default/sp_consume_trait.htm
templates/default/sp_consume_trait.htm
+1
-2
templates/default/sp_shop.htm
templates/default/sp_shop.htm
+1
-1
No files found.
gamedata/cache/clubskills_1.php
View file @
06007463
...
...
@@ -2192,7 +2192,7 @@ $cskills = Array
'vars'
=>
Array
(
'burn_rate'
=>
0.03
,
'consume_rate'
=>
0.3
,
'gain_rate'
=>
0.00
5
'gain_rate'
=>
0.00
6
),
'pvars'
=>
Array
(
'skillpara|c21_stormedge-ms'
,
'skillpara|c21_stormedge-consumpt'
),
),
...
...
@@ -2332,6 +2332,18 @@ $cskills = Array
'ragecost'
=>
30
,
),
),
//技能名或许可以换一个
'tl_cursetouch'
=>
Array
(
'name'
=>
'延咒'
,
'tags'
=>
Array
(
'passive'
),
'desc'
=>
'你每次攻击命中后,有<span class="yellow">[:curse_obbs:]%</span>概率使敌人装备与背包中的随机一件道具添加<span class="red">诅咒属性</span>,<br>
若你的装备带有<span class="red">诅咒属性</span>,此概率变为<span class="yellow">[:curserate:]</span>倍'
,
'vars'
=>
Array
(
'curse_obbs'
=>
1
,
'curserate'
=>
5
,
),
),
'inf_dizzy'
=>
Array
(
'name'
=>
'眩晕'
,
...
...
gamedata/cache/elementmix_1.php
View file @
06007463
...
...
@@ -91,6 +91,7 @@
'WDG'
=>
1.5
,
'WDF'
=>
1.5
,
'WJ'
=>
1.2
,
'WB'
=>
1.2
,
//补给品x0.05
'HH'
=>
0.03
,
'HS'
=>
0.03
,
...
...
@@ -262,6 +263,7 @@
$dommix_list
=
array
(
Array
(
'stuff'
=>
Array
(
'WG'
,
'WG'
,
'WG'
,
'WC'
,
'WD'
),
'result'
=>
'WJ'
,
'obbs'
=>
15
,),
//3射+1投+1爆=重枪(15%概率)
Array
(
'stuff'
=>
Array
(
'WC'
,
'WC'
,
'WC'
,
'WG'
,
'WK'
),
'result'
=>
'WB'
,
'obbs'
=>
25
,),
//3投+1射+1斩=弓(25%概率)
Array
(
'stuff'
=>
Array
(
'WG'
,
'WK'
),
'result'
=>
'WGK'
,
'obbs'
=>
77
,),
//射+斩=枪刃
Array
(
'stuff'
=>
Array
(
'WC'
,
'WF'
),
'result'
=>
'WCF'
,
'obbs'
=>
77
,),
//投+符=符札
Array
(
'stuff'
=>
Array
(
'WC'
,
'WP'
),
'result'
=>
'WCP'
,
'obbs'
=>
77
,),
//投+殴=重物
...
...
@@ -346,6 +348,7 @@
'WC'
=>
Array
(
'镖'
,
'卡牌'
,
'球'
,
'雪'
,
'飞盘'
,
'飞弹'
,
'弓'
,
'矢'
,
'青蛙'
,
'水滴'
,
'钢琴'
,
'猫'
),
//'投掷'
'WG'
=>
Array
(
'枪'
,
'光枪'
,
'燧发枪'
,
'步枪'
,
'炮'
,
'浮游炮'
,
'激光'
,
'掌心雷'
,
'弹弓'
,
'导弹发射器'
),
//'远程'
'WJ'
=>
Array
(
'狙击步枪'
,
'反坦克步枪'
,
'巨炮'
,
'武器阵列'
,
'手提箱'
,
'连装炮'
),
//'重枪'
'WB'
=>
Array
(
'强弓'
,
'角弓'
,
'箭雨'
,
'铁弓'
,
'短弓'
,
'竖琴'
,
'猎弓'
,
'暴风'
,
'落星'
),
//'弓'
'WD'
=>
Array
(
'炸弹'
,
'地雷'
,
'打击'
,
'此面向敌'
,
'贝蒂'
,
'绳'
,
'陷坑'
,
'抽卡游戏'
,
'短视频'
,
'胜负欲'
,
'这是什么?摸一下'
),
//'爆炸物'
'WF'
=>
Array
(
'符'
,
'手环'
,
'节杖'
,
'触'
,
'法书'
,
'纸人'
,
'信徒'
,
'精神性'
,
'理论'
,
'天赋'
,
'秘录'
,
'蟑螂'
),
//'灵武'
//TODO:复合武器
...
...
gamedata/cache/gamecfg_1.php
View file @
06007463
...
...
@@ -72,7 +72,7 @@ $splimit = 400;
// 初始生命最大值
$hplimit
=
400
;
// 怒气最大值
$mrage
=
500
;
$mrage
=
255
;
//携带金钱上限
$moneylimit
=
65500
;
...
...
gamedata/cache/resources_1.php
View file @
06007463
...
...
@@ -1008,6 +1008,7 @@ $iteminfo = Array(//注意顺序,AB必须在A的前面,以此类推
'HB'
=>
'命体恢复'
,
'HM'
=>
'歌魂增加'
,
'HT'
=>
'歌魂恢复'
,
'HR'
=>
'怒气增加'
,
'GA'
=>
'箭矢'
,
'GBr'
=>
'机枪弹药'
,
'GBi'
=>
'气体弹药'
,
...
...
@@ -1020,6 +1021,7 @@ $iteminfo = Array(//注意顺序,AB必须在A的前面,以此类推
'N'
=>
'无'
,
'PM'
=>
'歌魂增加'
,
'PT'
=>
'歌魂恢复'
,
'PR'
=>
'怒气增加'
,
'PH'
=>
'生命恢复'
,
'PS'
=>
'体力恢复'
,
'PB'
=>
'命体恢复'
,
...
...
@@ -1126,7 +1128,7 @@ $itemspkinfo = Array(
'^'
=>
'背包'
,
'🧰'
=>
'工具'
,
'🍎'
=>
'水果'
,
'|'
=>
'<:DUMMY:>'
,
//箭矢用的分隔符
//
'|' => '<:DUMMY:>', //箭矢用的分隔符
);
//club20 元素大师:
...
...
@@ -1326,7 +1328,7 @@ $dinfo = Array(
40
=>
'“看起来好像没什么反应嘛……那是!!”<br>天空中突然降下的巨大柱状物瞬间将你的世界吞没。<br>你眼前一黑,便失去了意识。<br><br><div class="seedhint">………………<br>…………<br><span class="redseed">【E】是那位神灵啊,干嘛要招惹她呢?</span><br><span class="blueseed">【P】使用她的符卡,后果自负哟。</span><br></div>'
,
42
=>
'你摁下了手中的玩具般的按钮。<br>面前凭空出现了一扇闪光的门扉!<br>你毅然决然地踏了进去……<br>………………<br>…………<br>……<br>随着你独自摘下了VR设备站起身来,你松了一口气。<br>虽然其他的玩家还在这场游戏中冒死厮杀,但起码你自己毫发无伤地逃出了生天。<br>虽然这怎么说都无法让你成为胜利者,但就这一点本身,已经算是不错的成就了。<br>你回头看了一眼正显示着你所谓的死亡信息的屏幕,不禁笑了起来……<br><br>=========<br><span class="lime">独自逃脱成功!<br>你获得了20积分奖励!胜场+1!</span><br>=========<br>'
,
44
=>
'在你想着要获取更大,更多的力量时。<br>你没想到这将让你的身体承担不起。<br>在你身体里面肆虐的<span class="glitchb">数据风暴</span>终于无法制御,<br>从你的体内破体而出……<br><div class="seedhint">………………<br>…………<br><span class="redseed">【E】这里有个教训——</span><br><span class="blueseed">【P】在使用所谓的第三方库之前,最好先将它的底细摸清楚……</span><span class="redseed">【E】要说明白的话,那这个「🥚」其实并不是林氏出品的东西……</span><br><span class="blueseed">【P】总之,下次注意点吧!</span><br></div>'
,
45
=>
'你怀着必死的决心,向你的对手撞了上去,<br>丝毫未注意到<span class="glitchb">数据风暴</span>穿体而出所带来的疼痛。<br>各种颜色的<span class="glitchb">数据风暴</span>围绕着你们,<br>当一切结束后,战场上已经是一片狼藉……<br><div class="seedhint">………………<br>…………<br><span class="redseed">【E】热血漫画固有戏码——自爆!</span><br><span class="blueseed">【P】这是你自己的选择,我们也不评价了。</span><span class="redseed">【E】希望被你干掉的人值得你这么做。</span><br><span class="blueseed">【P】那么下次再见!</span><br></div>'
,
45
=>
'你怀着必死的决心,向你的对手撞了上去,<br>丝毫未注意到<span class="glitchb">数据风暴</span>穿体而出所带来的疼痛。<br>各种颜色的<span class="glitchb">数据风暴</span>围绕着你们,<br>当一切结束后,战场上已经是一片狼藉……<br><div class="seedhint">………………<br>…………<br><span class="redseed">【E】热血漫画固有戏码——自爆!</span><br><span class="blueseed">【P】这是你自己的选择,我们也不评价了。</span><
br><
span class="redseed">【E】希望被你干掉的人值得你这么做。</span><br><span class="blueseed">【P】那么下次再见!</span><br></div>'
,
50
=>
'你的身体化作了天边的红霞。<br>想必会为虚拟幻境中的各位带来笑容吧。<br><div class="seedhint">………………<br>…………<br><span class="redseed">【E】…………………………?</span><br><span class="blueseed">【P】……………………。</span><br></div>'
,
);
...
...
gamedata/cache/shopitem_1.php
View file @
06007463
<?
if
(
!
defined
(
'IN_GAME'
))
exit
(
'Access Denied'
);
?>
0,2,,,补给,,,,,
1,10,300,0,食堂的盒饭,HR,50,1,,
1,100,13,0,矿泉水,HS,120,1,,
1,70,17,0,体力回复药,HS,240,1,,
1,60,26,1,圆形罐头,HS,600,1,,
...
...
@@ -50,6 +51,8 @@
6,500,10,0,风景明信片,WC,20,40,,
6,200,300,0,☆杀人扑克牌☆,WC,60,52,r,
6,100,800,0,『藤林杏的广辞苑』,WC,240,40,,
6,20,3000,0,复合弓,WB,360,1,Nc,
6,10,8800,0,■落月弓■,WB,720,1,ic,
6,50,2400,1,★库洛牌★,WC,500,53,,
6,25,5400,2,■木之本樱小樱牌■,WC,600,53,d,
6,30,165,0,游戏王卡包,ygo,1,1,
...
...
@@ -124,17 +127,22 @@
11,15,400,1,广域生命探测器,ER,1,1,2,
11,150,20,0,探测器电池,BR,2,1,,
11,25,1750,1,探雷器,A,1,1,M,
0,20,,,弹药和箭矢,,,,,
20,200,10,0,蓄能箭,GA,1,1,c,
20,200,20,0,火焰箭,GA,1,1,u,
20,200,30,0,毒箭,GA,1,1,p,
20,100,50,0,爆裂箭,GA,1,1,d,
20,500,6,0,手枪子弹,GB,1,12,,
20,250,12,0,机枪子弹,GBr,1,20,,
20,10,220,0,重装子弹,GBh,1,1
20,200,15,0,压缩气罐,GBi,1,10,,
20,200,15,0,枪械电池,GBe,1,10,,
0,12,,,杂物,,,,,
12,250,150,0,水果刀,Z,1,1,,
12,200,60,0,钉,Y,3,4,,
12,100,120,1,钢钉,Y,60,1,,
12,75,250,0,磨刀石,Y,5,5,,
12,30,600,1,贤者之磨刀石,Y,60,1,,
12,500,6,0,手枪子弹,GB,1,12,,
12,250,12,0,机枪子弹,GBr,1,20,,
12,10,220,0,重装子弹,GBh,1,1
12,200,15,0,压缩气罐,GBi,1,10,,
12,200,15,0,枪械电池,GBe,1,10,,
12,150,120,0,针线包,Y,10,2,,
12,7,777,0,礼品盒,p,1,1,,
12,20,600,0,凸眼鱼,Y,1,4,,
...
...
gamedata/cache/tooltip_1.php
View file @
06007463
...
...
@@ -130,8 +130,10 @@ $tps_ik = Array
'HB'
=>
Array
(
'title'
=>
"使用后恢复等于道具效果值的生命和体力"
,),
'HM'
=>
Array
(
'title'
=>
"使用后增加等于道具效果值的歌魂上限"
,),
'HT'
=>
Array
(
'title'
=>
"使用后恢复等于道具效果值的歌魂"
,),
'HR'
=>
Array
(
'title'
=>
"使用后增加等于道具效果值的怒气"
,),
'PM'
=>
Array
(
'title'
=>
"使用后曾加等于道具效果值的歌魂上限"
,),
'PT'
=>
Array
(
'title'
=>
"使用后灰复等于道具效果值的歌魂"
,),
'PR'
=>
Array
(
'title'
=>
"使用后曾加等于道具效果值的怒气"
,),
'PH'
=>
Array
(
'title'
=>
"使用后灰复等于道具效果值的生命"
,),
'PS'
=>
Array
(
'title'
=>
"使用后灰复等于道具效果值的体力"
,),
'PB'
=>
Array
(
'title'
=>
"使用后灰复等于道具效果值的生命和体力"
,),
...
...
gamedata/club21cfg.php
View file @
06007463
...
...
@@ -74,11 +74,11 @@
//名称提取时的候选字段范围,每局游戏会在其中随机挑选出部分字段
$item_name_fragment_list
=
Array
(
//0级字段
0
=>
Array
(
'电磁'
,
'脉冲'
,
'沙漠'
,
'手枪'
,
'RPG'
,
'手套'
,
'龙'
,
'灵使'
,
'盟军'
,
'救世'
,
'布偶'
,
'小型'
,
'辐射'
,
'镰刀'
,
'地板'
,
'青蛙'
,
'半身像'
,
'御姐'
,
'腿'
,
'杏仁豆腐'
,
'希望'
,
'电子'
,
'太鼓'
,
'棍棒'
,
'[+1]'
,
'[+2]'
,
'[+3]'
,
'装甲'
,
'实验'
,
'太刀'
,
'骷髅'
,
'被封印者的'
,
'死灵'
,
'吸血鬼'
,
'领主'
,
'巨大'
,
'冲锋'
,
'
反坦克'
,
'扭曲'
,
'蓝白'
,
'操控'
,
'火神'
,
'音波'
,
'激光'
,
'带翅膀的'
,
'桔黄色的'
,
'王国'
,
'午夜'
,
'垃圾'
,
'焦臭的'
,
'微温的'
,
'开孔的'
,
'泥泞的'
,
'变形的'
,
'裂缝的'
,
'潮湿的'
,
'遥控'
,
'原型'
,
'普通的'
,
'对魔物用'
,
'二重'
,
'黑魔法'
,
'寂寞'
,
'节操'
,
'防弹'
,
'埃克法
'
),
0
=>
Array
(
'电磁'
,
'脉冲'
,
'沙漠'
,
'手枪'
,
'RPG'
,
'手套'
,
'龙'
,
'灵使'
,
'盟军'
,
'救世'
,
'布偶'
,
'小型'
,
'辐射'
,
'镰刀'
,
'地板'
,
'青蛙'
,
'半身像'
,
'御姐'
,
'腿'
,
'杏仁豆腐'
,
'希望'
,
'电子'
,
'太鼓'
,
'棍棒'
,
'[+1]'
,
'[+2]'
,
'[+3]'
,
'装甲'
,
'实验'
,
'太刀'
,
'骷髅'
,
'被封印者的'
,
'死灵'
,
'吸血鬼'
,
'领主'
,
'巨大'
,
'冲锋'
,
'
扭曲'
,
'蓝白'
,
'操控'
,
'火神'
,
'音波'
,
'激光'
,
'带翅膀的'
,
'桔黄色的'
,
'王国'
,
'午夜'
,
'垃圾'
,
'焦臭的'
,
'微温的'
,
'开孔的'
,
'泥泞的'
,
'变形的'
,
'裂缝的'
,
'潮湿的'
,
'遥控'
,
'原型'
,
'普通的'
,
'对魔物用'
,
'二重'
,
'黑魔法'
,
'寂寞'
,
'节操'
,
'防弹'
,
'埃克法'
,
'木制'
,
'超级'
,
'爆炸'
,
'破坏之'
,
'星尘'
,
'梦想'
,
'光束
'
),
//1级字段
1
=>
Array
(
'飞刀'
,
'怪蜀黍'
,
'水晶'
,
'雪兔'
,
'金属'
,
'弹射'
,
'首领'
,
'恶魔'
,
'霍普'
,
'宝石'
,
'细剑'
,
'片翼'
,
'[+4]'
,
'[+5]'
,
'德古拉'
,
'曾经的'
,
'荣光'
,
'大口径'
,
'水滴'
,
'彩色'
,
'未知'
,
'喵喵'
,
'奇迹'
,
'钓鱼'
,
'高压'
,
'高性能'
,
'贯穿'
,
'连射'
,
'震荡'
,
'幻之'
,
'永恒之'
,
'约定'
,
'黎明'
,
'寻星'
,
'勇者'
,
'冰封的'
,
'直升机'
,
'玄人的'
,
'断钢'
,
'火焰'
,
'
超级'
,
'9mm'
,
'标本'
,
'波纹'
,
'木制'
,
'军用'
,
'爆炸'
,
'破坏之'
,
'真空'
,
'诅咒'
,
'荆棘'
,
'至尊'
,
'西瓜'
,
'红石'
,
'血腥'
,
'幽灵'
,
'凤凰'
,
'露琪亚'
,
'坚强'
,
'炙热'
,
'活力'
,
'星尘'
,
'风神'
,
'世界'
,
'凭依'
,
'英雄
'
),
1
=>
Array
(
'飞刀'
,
'怪蜀黍'
,
'水晶'
,
'雪兔'
,
'金属'
,
'弹射'
,
'首领'
,
'恶魔'
,
'霍普'
,
'宝石'
,
'细剑'
,
'片翼'
,
'[+4]'
,
'[+5]'
,
'德古拉'
,
'曾经的'
,
'荣光'
,
'大口径'
,
'水滴'
,
'彩色'
,
'未知'
,
'喵喵'
,
'奇迹'
,
'钓鱼'
,
'高压'
,
'高性能'
,
'贯穿'
,
'连射'
,
'震荡'
,
'幻之'
,
'永恒之'
,
'约定'
,
'黎明'
,
'寻星'
,
'勇者'
,
'冰封的'
,
'直升机'
,
'玄人的'
,
'断钢'
,
'火焰'
,
'
9mm'
,
'标本'
,
'波纹'
,
'军用'
,
'真空'
,
'诅咒'
,
'荆棘'
,
'至尊'
,
'西瓜'
,
'红石'
,
'血腥'
,
'幽灵'
,
'凤凰'
,
'露琪亚'
,
'坚强'
,
'炙热'
,
'活力'
,
'风神'
,
'凭依'
,
'英雄'
,
'反坦克'
,
'太极'
,
'迷你'
,
'太阳'
,
'飞叶'
,
'公主'
,
'可怕的
'
),
//2级字段
2
=>
Array
(
'机械'
,
'铁拳'
,
'彩虹'
,
'临摹'
,
'狐狸'
,
'巫师'
,
'未完成'
,
'丝带'
,
'超次元'
,
'蔷薇'
,
'大师'
,
'[+6]'
,
'天空'
,
'
太阳'
,
'巨神'
,
'二向箔'
,
'神之'
,
'乱入'
,
'传说中的'
,
'心灵'
,
'风魔'
,
'强袭'
,
'闪击'
,
'达人的'
,
'铁锤'
,
'女王的'
,
'精装'
,
'拳王之'
,
'黄金'
,
'肯德基'
,
'麦当劳'
,
'东洋'
,
'燕返'
,
'传家'
,
'古典'
,
'高级'
,
'钻石'
,
'正宗'
,
'萝莉'
,
'伪娘'
,
'女仆'
,
'宅男'
,
'光学迷彩'
,
'塑料'
,
'性感的'
,
'新华里'
,
'超能力'
,
'天使'
,
'狂暴'
,
'妖精'
,
'LOVELOVE'
,
'悔悟'
,
'烈焰'
,
'流转'
,
'轮回'
,
'生命'
,
'未来'
,
'恐惧的'
,
'失落的'
,
'灭亡'
,
'黑暗'
,
'终结'
,
'爆裂'
,
'试作型'
,
'限量版'
,
'阔剑'
,
'巴雷特'
,
'奇怪的'
,
'波动'
,
'认真收集的'
,
'无尽'
,
'断罪'
,
'破灭'
,
'武神
'
),
2
=>
Array
(
'机械'
,
'铁拳'
,
'彩虹'
,
'临摹'
,
'狐狸'
,
'巫师'
,
'未完成'
,
'丝带'
,
'超次元'
,
'蔷薇'
,
'大师'
,
'[+6]'
,
'天空'
,
'
巨神'
,
'二向箔'
,
'神之'
,
'乱入'
,
'传说中的'
,
'心灵'
,
'风魔'
,
'强袭'
,
'闪击'
,
'达人的'
,
'铁锤'
,
'女王的'
,
'精装'
,
'拳王之'
,
'黄金'
,
'肯德基'
,
'麦当劳'
,
'东洋'
,
'燕返'
,
'传家'
,
'古典'
,
'高级'
,
'钻石'
,
'正宗'
,
'萝莉'
,
'伪娘'
,
'女仆'
,
'宅男'
,
'光学迷彩'
,
'塑料'
,
'性感的'
,
'新华里'
,
'超能力'
,
'天使'
,
'狂暴'
,
'妖精'
,
'LOVELOVE'
,
'悔悟'
,
'烈焰'
,
'流转'
,
'轮回'
,
'生命'
,
'未来'
,
'恐惧的'
,
'失落的'
,
'灭亡'
,
'黑暗'
,
'终结'
,
'爆裂'
,
'试作型'
,
'限量版'
,
'阔剑'
,
'巴雷特'
,
'奇怪的'
,
'波动'
,
'认真收集的'
,
'无尽'
,
'断罪'
,
'破灭'
,
'武神'
,
'世界
'
),
//3级字段,福袋里出来的都记到这边吧
3
=>
Array
(
'最终'
,
'灼眼'
,
'正直者'
,
'原味'
,
'鱼的'
,
'勇气'
,
'信仰'
,
'向日葵'
,
'贤者'
,
'无限'
,
'铁兽战线'
,
'淘气仙星'
,
'死兆星'
,
'死亡'
,
'水月'
,
'霜火'
,
'神灭兵器'
,
'染血'
,
'琪露诺'
,
'破解的'
,
'秘旋谍'
,
'六根清净'
,
'炼狱'
,
'究极'
,
'究级'
,
'疾风'
,
'火灵天星'
,
'会打飞机的'
,
'幻月'
,
'海晶少女'
,
'篝酱'
,
'夺魂'
,
'动感超人'
,
'地球'
,
'创造神'
,
'MIKU的'
,
'205mm'
,
'[+9]'
,
'[+8]'
,
'[+7]'
,
'[+10]'
,
'(笑)'
,
'小马'
)
);
...
...
include/game/item.func.php
View file @
06007463
...
...
@@ -232,6 +232,27 @@ function itemuse($itmn,&$data=NULL) {
}
else
{
$log
.=
'你的歌魂不需要恢复。<br>'
;
}
}
elseif
(
strpos
(
$itmk
,
'HR'
)
===
0
)
{
$rageup
=
$itme
;
require
config
(
'gamecfg'
,
$gamecfg
);
if
(
$rage
<
$mrage
)
{
$oldrage
=
$rage
;
$rage
+=
$rageup
;
$rage
=
$rage
>
$mrage
?
$mrage
:
$rage
;
$oldrage
=
$rage
-
$oldrage
;
$log
.=
"你吃了一口<span class=
\"
red
\"
>
$itm
</span>,顿时感觉心中充满了愤怒。你的怒气值增加了<span class=
\"
yellow b
\"
>
$oldrage
</span>点!<br>"
;
if
(
$itms
!=
$nosta
)
{
$itms
--
;
if
(
$itms
<=
0
)
{
$log
.=
"<span class=
\"
red
\"
>
$itm
</span>用光了。<br>"
;
$itm
=
$itmk
=
$itmsk
=
''
;
$itme
=
$itms
=
0
;
}
}
}
else
{
$log
.=
'你已经出离愤怒了,动怒伤肝,还是歇歇吧!<br>'
;
}
}
elseif
(
strpos
(
$itmk
,
'HB'
)
===
0
)
{
//global $hp, $mhp, $sp, $msp,$club;
if
((
$hp
<
$mhp
)
||
(
$sp
<
$msp
))
{
...
...
include/game/itemmain.func.php
View file @
06007463
...
...
@@ -1245,7 +1245,7 @@ function itembuy($item,$shop,$bnum=1,&$data=NULL)
$log
.=
'你的钱不够,不能购买此物品!<br><br>'
;
$mode
=
'command'
;
return
;
}
elseif
(
!
preg_match
(
'/^(WC|WD|WF|
Y|B|C|TN|GB|H|V|M
)/'
,
$iteminfo
[
'itmk'
])
&&
$bnum
>
1
)
{
}
elseif
(
!
preg_match
(
'/^(WC|WD|WF|
X|Y|B|C|TN|GA|GB|H|V|M|ygo|p
)/'
,
$iteminfo
[
'itmk'
])
&&
$bnum
>
1
)
{
$log
.=
'此物品一次只能购买一个。<br><br>'
;
$mode
=
'command'
;
return
;
...
...
@@ -1666,12 +1666,12 @@ function reload_single_set_item(&$pa,$eqp,$enm,$active=0)
function
check_item_edit_event
(
$pa
,
&
$pd
,
$event
)
{
$flag
=
0
;
for
(
$i
=
0
;
$i
<=
6
;
$i
++
)
{
if
(
!
empty
(
$pd
[
'itms'
.
$i
]))
# 「渗透」效果判定
if
(
$event
==
'c8_infilt'
)
{
for
(
$i
=
0
;
$i
<=
6
;
$i
++
)
{
# 「渗透」效果判定
if
(
$event
==
'c8_infilt'
)
if
(
!
empty
(
$pd
[
'itms'
.
$i
]))
{
if
(
strpos
(
$pd
[
'itmk'
.
$i
],
'H'
)
===
0
)
{
...
...
@@ -1682,6 +1682,36 @@ function check_item_edit_event($pa,&$pd,$event)
}
}
}
# 「延咒」效果判定
elseif
(
$event
==
'tl_cursetouch'
)
{
//偷懒,尝试12次添加诅咒属性
for
(
$i
=
1
;
$i
<=
12
;
$i
++
)
{
$curse_id
=
rand
(
1
,
12
);
//1-6表示背包道具
if
(
$curse_id
<=
6
)
{
if
(
!
empty
(
$pd
[
'itms'
.
$i
])
&&
strpos
(
$pd
[
'itmsk'
.
$i
],
'V'
)
===
False
)
{
$pd
[
'itmsk'
.
$i
]
.=
'V'
;
$flag
=
1
;
}
}
//7-12表示装备
else
{
$curse_equipment
=
(
Array
(
'wep'
,
'arb'
,
'arh'
,
'ara'
,
'arf'
,
'art'
))[
$curse_id
-
7
];
if
(
!
empty
(
$pd
[
$curse_equipment
])
&&
strpos
(
$pd
[
$curse_equipment
.
'sk'
],
'V'
)
===
False
)
{
$pd
[
$curse_equipment
.
'sk'
]
.=
'V'
;
$flag
=
1
;
}
}
if
(
$flag
==
1
)
break
;
}
}
return
$flag
;
}
...
...
include/game/revcombat_extra.func.php
View file @
06007463
...
...
@@ -227,9 +227,24 @@ namespace revcombat
$log
.=
"<span class='yellow'>
{
$pd
[
'nm'
]
}
没有受到「渗透」影响!</span><br>"
;
}
}
# 「延咒」效果判定
if
(
isset
(
$pa
[
'skill_tl_cursetouch'
]))
{
$curse_obbs
=
get_skillvars
(
'tl_cursetouch'
,
'curse_obbs'
);
$curserate
=
get_skillvars
(
'tl_cursetouch'
,
'curserate'
);
$dice
=
diceroll
(
99
);
if
(
in_array
(
'V'
,
$pa
[
'ex_keys'
]))
$curse_obbs
*=
$curserate
;
if
(
$dice
<
$curse_obbs
)
{
include_once
GAME_ROOT
.
'./include/game/itemmain.func.php'
;
$flag
=
check_item_edit_event
(
$pa
,
$pd
,
'tl_cursetouch'
);
if
(
$flag
)
$log
.=
"<span class='yellow'>「延咒」使
{
$pd
[
'nm'
]
}
受到了诅咒!</span><br>"
;
}
}
# 「妙手」效果判定
if
(
isset
(
$pa
[
'skill_tl_pickpocket'
]))
if
(
isset
(
$pa
[
'
b
skill_tl_pickpocket'
]))
{
$picklimit
=
get_skillvars
(
'tl_pickpocket'
,
'picklimit'
);
//这叫earn合适吗?
...
...
include/state.func.php
View file @
06007463
...
...
@@ -525,8 +525,11 @@
if
(
isset
(
$pa
[
'bskill_c10_decons'
])
&&
$pa
[
'final_damage'
]
>
$pd
[
'hp'
])
{
$sk_up
=
ceil
(
$pd
[
'lvl'
]
-
(
$pa
[
'lvl'
]
*
0.15
));
$log
.=
'<span class="yellow">「解构」使'
.
$pa
[
'nm'
]
.
'获得了额外'
.
$sk_up
.
'点经验!</span><br>'
;
$expup
+=
$sk_up
;
if
(
$sk_up
>
0
)
{
$log
.=
'<span class="yellow">「解构」使'
.
$pa
[
'nm'
]
.
'获得了额外'
.
$sk_up
.
'点经验!</span><br>'
;
$expup
+=
$sk_up
;
}
}
if
(
!
empty
(
$expup
))
$pa
[
'exp'
]
+=
$expup
;
//$log .= "$isplayer 的经验值增加 $expup 点<br>";
...
...
templates/default/shop.htm
View file @
06007463
...
...
@@ -9,7 +9,7 @@
<br><br>
<!--{loop $itemdata $idata}-->
<!--{if $idata['sid']}-->
<!--{eval $idsid = $idata['sid'];$buynumflag = $shop==1||$shop==2||$shop==6||$shop==7||$shop==8||$shop==10||$shop==11||$shop==12 ? 1 : 0;}-->
<!--{eval $idsid = $idata['sid'];$buynumflag = $shop==1||$shop==2||$shop==6||$shop==7||$shop==8||$shop==10||$shop==11||$shop==12
||$shop==20
? 1 : 0;}-->
<div
class=
"shoprow"
>
<div
class=
"leftbox"
>
<input
type=
"button"
class=
"cmdbutton"
value=
"购买"
onclick=
"$('command').value='$idsid';<!--{if $buynumflag}-->$('buynum').value=$('buynum{$idsid}').value;<!--{/if}-->postCmd('gamecmd','command.php');this.disabled=true;"
>
...
...
templates/default/sp_add_trait.htm
View file @
06007463
...
...
@@ -49,5 +49,4 @@
</select>
</div>
<input
type=
"button"
class=
"cmdbutton"
id=
"zz"
name=
"submit"
value=
"[Z]提交"
onclick=
"postCmd('gamecmd','command.php');this.disabled=true;"
>
<input
type=
"button"
class=
"cmdbutton"
value=
"放弃"
onclick=
"postCmd('gamecmd','command.php');this.disabled=true;"
>
<input
type=
"button"
class=
"cmdbutton"
id=
"zz"
name=
"submit"
value=
"[Z]提交"
onclick=
"postCmd('gamecmd','command.php');this.disabled=true;"
>
\ No newline at end of file
templates/default/sp_consume_trait.htm
View file @
06007463
...
...
@@ -26,5 +26,4 @@
<br>
</div>
<input
type=
"button"
class=
"cmdbutton"
id=
"zz"
name=
"submit"
value=
"[Z]提交"
onclick=
"postCmd('gamecmd','command.php');this.disabled=true;"
>
<input
type=
"button"
class=
"cmdbutton"
id=
"x"
name=
"submit"
value=
"[X]放弃"
onclick=
"postCmd('gamecmd','command.php');this.disabled=true;"
>
<input
type=
"button"
class=
"cmdbutton"
id=
"zz"
name=
"submit"
value=
"[Z]提交"
onclick=
"postCmd('gamecmd','command.php');this.disabled=true;"
>
\ No newline at end of file
templates/default/sp_shop.htm
View file @
06007463
...
...
@@ -3,7 +3,7 @@
<input
type=
"hidden"
id=
"command"
name=
"command"
value=
"menu"
>
<input
type=
"button"
class=
"cmdbutton"
value=
"离开"
onclick=
"$('command').value='menu';postCmd('gamecmd','command.php');this.disabled=true;"
>
<br>
<!--{loop Array(1=>'补给品',2=>'药剂',3=>$iteminfo['WP'],4=>$iteminfo['WK'],5=>$iteminfo['WG'],6=>$iteminfo['WC'],7=>$iteminfo['WD'],8=>$iteminfo['WF'].'材料',9=>'防具',10=>'书籍',11=>'电子装备',12=>'杂物',17=>'限量福袋',13=>'埃克法轻工特供武器',14=>'林苍月的提示',15=>'Key社纪念品专卖',16=>'NPC解锁钥匙',18=>'上级者向物品') $sid $scmt}-->
<!--{loop Array(1=>'补给品',2=>'药剂',3=>$iteminfo['WP'],4=>$iteminfo['WK'],5=>$iteminfo['WG'],6=>$iteminfo['WC'],7=>$iteminfo['WD'],8=>$iteminfo['WF'].'材料',9=>'防具',10=>'书籍',11=>'电子装备',
20=>'弹药和箭矢',
12=>'杂物',17=>'限量福袋',13=>'埃克法轻工特供武器',14=>'林苍月的提示',15=>'Key社纪念品专卖',16=>'NPC解锁钥匙',18=>'上级者向物品') $sid $scmt}-->
<!--{if $sid % 2}-->
<br>
<!--{/if}-->
<input
type=
"button"
class=
"cmdbutton"
name=
"$sid"
value=
"{$scmt}"
style=
"
<!--{if mb_strlen($scmt)>8}-->width:140px;<!--{else}-->width:100px;<!--{/if}-->
...
...
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