refactor(fight): 重构战斗效果和技能初始化逻辑

- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果
- 修改技能效果的 ID,避免和普通效果 ID 冲突
- 优化战斗循环逻辑,增加战斗结束的判断条件
- 调整输入结构,移除未使用的属性和状态容器
- 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
This commit is contained in:
2025-09-14 19:59:58 +08:00
parent 929b0c9006
commit 906bad9e21
617 changed files with 3615605 additions and 42 deletions

View File

@@ -0,0 +1,206 @@
{
"Root": {
"Item": [
{
"ID": 1,
"CurYear": 2016,
"CurMonth": 12,
"MonsterID": 3281,
"MonthTimeFlag": 961,
"NewSeID": 2492,
"RechargeMonthInfo": 100750,
"Grad": 3,
"NotVipNeed": "1 2 3",
"VipNeed": "0 1 2",
"GotFlagInfo": "2692 100388 2741 100449 5305 2809 2828 5311 4391 5391 2880 100751",
"BonusIds": "1695 1757 1811 1851 1900 1924 1969 2008 2077 2117 2162 2202",
"YearTimeFlag": 960,
"StatLog": 0,
"Desc": "2016年vip包月"
},
{
"ID": 2,
"CurYear": 2017,
"CurMonth": 12,
"MonsterID": 3521,
"MonthTimeFlag": 963,
"NewSeID": 2758,
"RechargeMonthInfo": 100750,
"Grad": 3,
"NotVipNeed": "1 2 3",
"VipNeed": "0 1 2",
"GotFlagInfo": "100752 100753 100754 100755 100756 100757 100758 100759 100760 100761 100762 100763",
"BonusIds": "2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214",
"YearTimeFlag": 962,
"StatLog": 0,
"Desc": "2017年vip包月"
},
{
"ID": 3,
"CurYear": 2018,
"CurMonth": 12,
"MonsterID": 3775,
"MonthTimeFlag": 965,
"NewSeID": 3052,
"RechargeMonthInfo": 100750,
"Grad": 3,
"NotVipNeed": "1 2 3",
"VipNeed": "0 1 2",
"GotFlagInfo": "100765 100766 100767 100768 100769 100770 100771 100772 100773 100774 100775 100776",
"BonusIds": "2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226",
"YearTimeFlag": 964,
"StatLog": 0,
"Desc": "2018年vip包月"
},
{
"ID": 4,
"CurYear": 2019,
"CurMonth": 12,
"MonsterID": 3968,
"MonthTimeFlag": 967,
"NewSeID": 5504,
"RechargeMonthInfo": 100750,
"Grad": 3,
"NotVipNeed": "1 2 3",
"VipNeed": "0 1 2",
"GotFlagInfo": "100777 100778 100779 100780 100781 100782 100783 100784 100785 100786 100787 100788",
"BonusIds": "2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238",
"YearTimeFlag": 966,
"StatLog": 0,
"Desc": "2019年vip包月"
},
{
"ID": 5,
"CurYear": 2020,
"CurMonth": 12,
"MonsterID": 4154,
"MonthTimeFlag": 969,
"NewSeID": 5738,
"RechargeMonthInfo": 100750,
"Grad": 3,
"NotVipNeed": "1 2 3",
"VipNeed": "0 1 2",
"GotFlagInfo": "100789 100790 100791 100792 100793 100794 100795 100796 100797 100798 100799 100800",
"BonusIds": "2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250",
"YearTimeFlag": 968,
"StatLog": 0,
"Desc": "2020年vip包月"
},
{
"ID": 6,
"CurYear": 2021,
"CurMonth": 12,
"MonsterID": 4307,
"MonthTimeFlag": 971,
"NewSeID": 5800,
"RechargeMonthInfo": 100750,
"Grad": 3,
"NotVipNeed": "1 2 3",
"VipNeed": "0 1 2",
"GotFlagInfo": "100801 100802 100803 100804 100805 100806 100807 100808 100809 100810 100811 100812",
"BonusIds": "2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262",
"YearTimeFlag": 970,
"StatLog": 0,
"Desc": "2021年vip包月"
},
{
"ID": 7,
"CurYear": 2022,
"CurMonth": 12,
"MonsterID": 4446,
"MonthTimeFlag": 973,
"NewSeID": 5953,
"RechargeMonthInfo": 100750,
"Grad": 3,
"NotVipNeed": "1 2 3",
"VipNeed": "0 1 2",
"GotFlagInfo": "100813 100814 100815 100816 100817 100818 100819 100820 100821 100822 100823 100824",
"MonstersID": "4322 4328 4342 4352 4360 4374 4389 4398 4413 4424 4434 4446",
"BonusIds": "2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274",
"YearTimeFlag": 972,
"StatLog": 0,
"Desc": "2022年vip包月"
},
{
"ID": 8,
"CurYear": 2023,
"CurMonth": 12,
"MonsterID": 4575,
"MonthTimeFlag": 975,
"NewSeID": 6078,
"RechargeMonthInfo": 100750,
"Grad": 3,
"NotVipNeed": "1 2 3",
"VipNeed": "0 1 2",
"GotFlagInfo": "100825 100826 100827 100828 100829 100830 100831 100832 100833 100834 100835 100836",
"MonstersID": "4456 4473 4480 4491 4497 4508 4518 4530 4544 4555 4565 4575",
"BonusIds": "2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286",
"YearTimeFlag": 974,
"StatLog": 0,
"Desc": "2023年vip包月"
},
{
"ID": 9,
"CurYear": 2024,
"CurMonth": 12,
"MonsterID": 4698,
"MonthTimeFlag": 977,
"NewSeID": 6200,
"RechargeMonthInfo": 100750,
"Grad": 3,
"NotVipNeed": "1 2 3",
"VipNeed": "0 1 2",
"GotFlagInfo": "100837 100838 100839 100840 100841 100842 100843 100844 100845 100846 100847 100848",
"MonstersID": "4585 4598 4609 4619 4626 4634 4652 4659 4668 4681 4689 4698",
"BonusIds": "2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298",
"YearTimeFlag": 976,
"StatLog": 0,
"Desc": "2024年vip包月"
},
{
"ID": 10,
"CurYear": 2025,
"CurMonth": 8,
"MonsterID": 4799,
"MonthTimeFlag": 979,
"NewSeID": 6288,
"RechargeMonthInfo": 100750,
"Grad": 1,
"NotVipNeed": 1,
"VipNeed": 0,
"GotFlagInfo": "141001 141002 141003 141004 141005 141006 141007 141008 141009 141010 141011 141012",
"MonstersID": "4708 4720 4733 4741 4751 4759 4781 4799 0 0 0 0",
"BonusIds": "2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310",
"YearTimeFlag": 978,
"StatLog": 0,
"Desc": "2025年vip包月"
}
],
"CurYearMonth": {
"ID": 202508,
"Desc": "包月精灵当前生效年月,包月配表需同步更新"
},
"pet": {
"des": [
{
"_cdata": "\r\n\t\t\t<font size='26'> 闪耀的波尼啵妮</font>\r\n\t\t\t\r\n\t\t\t相传在很久以前\r\n\t\t\t有一只生活在赫尔卡星川流湖泊之中的人鱼少女\r\n\t\t\t她的名字叫作波尼啵妮。\r\n\t\t\t收集全世界最闪耀的石头让这个世界变得更加绚烂\r\n\t\t\t这是她一直以来追寻的梦想。\r\n\t\t\t一天波尼啵妮带着从别处收集而来的闪亮石头\r\n\t\t\t她徜游在回家的路上时却看见在远处\r\n\t\t\t一位少女正缓缓地向湖底沉去。\r\n\t\t\t波尼啵妮很快游到了少女的身旁\r\n\t\t\t无论怎么呼喊都无法唤醒她的意识。\r\n\t\t\t“必须把她带回岸边。”\r\n\t\t\t可是波尼啵妮的身体仿佛有千斤之重\r\n\t\t\t无论怎样使劲都无法顺利将少女托举起来。\r\n\t\t\t“是我身上的那些石头是它们加重了我的负担。”",
"page": 1
},
{
"_cdata": "\r\n\t\t\t\r\n\t\t\t波尼啵妮没有多想她将携带的石头全部丢下湖底\r\n\t\t\t这才有了足够的力气托着失水少女游回岸边。\r\n\t\t\t少女得救了波尼啵妮顾不得等待少女苏醒\r\n\t\t\t她得赶紧潜入湖中搜寻方才丢下的石头。\r\n\t\t\t她游啊游游啊游。终于游到了湖底。\r\n\t\t\t难以置信湖底竟然生有一块璀璨迷人的宝石。\r\n\t\t\t方才自己丢下的石头也正静静躺在宝石一旁。\r\n\t\t\t波尼啵妮顺势将它们全部收入自己的囊中\r\n\t\t\t没想到今日亦是满载而归的一天。\r\n\t\t\t回去以后啊\r\n\t\t\t波尼啵妮又可以向同伴们炫耀自己找到的宝物了。\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t<font color='#be102c'>落入湖中的少女…好像我之前经常做的那个梦啊。</font>\r\n\t\t\t<font color='#be102c'>等到少女醒来,她会不会想起与波尼啵妮的邂逅呢?</font>",
"page": 2
}
],
"id": 4708
},
"resourse": {
"vipSub": {
"url": "NewVIPEquityPanel"
},
"backVip": {
"url": "VipMouthPet2025Panel"
},
"url": "update/monthlyPet/"
}
}
}