- 将 InitEffect 重命名为 InitSkillEffect,用于初始化技能效果 - 修改技能效果的 ID,避免和普通效果 ID 冲突 - 优化战斗循环逻辑,增加战斗结束的判断条件 - 调整输入结构,移除未使用的属性和状态容器 - 重构技能解析和攻击处理逻辑,提高代码可读性和维护性
39 lines
3.0 KiB
Go
39 lines
3.0 KiB
Go
<!--
|
|
type : 为类别..服务器规定的id来
|
|
mapID : 为矿产所在地图
|
|
name : 矿产名字
|
|
collectType : 挖掘,采集,采摘
|
|
collectCnt : 每天采集次数
|
|
unit : 为单位,块,罐,个==
|
|
dir : 人模的所对方向
|
|
-->
|
|
|
|
<root>
|
|
<energy type="1" mapID="10" name="黄晶矿" collectType="挖掘" collectCnt="5" unit="块" dir="4"/>
|
|
<energy type="2" mapID="21" name="黄晶矿" collectType="挖掘" collectCnt="5" unit="块" dir="1"/>
|
|
<energy type="3" mapID="15" name="黄晶矿" collectType="挖掘" collectCnt="5" unit="块" dir="1"/>
|
|
<energy type="4" mapID="20" name="甲烷燃气" collectType="采集" collectCnt="2" unit="罐" dir="1"/>
|
|
<energy type="5" mapID="25" name="甲烷燃气" collectType="采集" collectCnt="2" unit="罐" dir="7"/>
|
|
<energy type="6" mapID="16" name="甲烷燃气" collectType="采集" collectCnt="2" unit="罐" dir="1"/>
|
|
<energy type="7" mapID="34" name="藤结晶" collectType="采摘" collectCnt="1" unit="块" dir="5"/>
|
|
<energy type="9" mapID="105" name="蘑菇结晶" collectType="挖掘" collectCnt="3" unit="块" dir="7"/>
|
|
<energy type="10" mapID="106" name="纳格晶体" collectType="挖掘" collectCnt="3" unit="块" dir="1"/>
|
|
<energy type="11" mapID="106" name="豆豆果实" collectType="采摘" collectCnt="1" unit="块" dir="7"/>
|
|
<energy type="12" mapID="49" name="电能石" collectType="挖掘" collectCnt="2" unit="块" dir="1"/>
|
|
<energy type="14" mapID="54" name="露尼亚矿石" collectType="挖掘" collectCnt="1" unit="块" dir="1"/>
|
|
<energy type="15" mapID="54" name="希罗里矿石" collectType="挖掘" collectCnt="1" unit="块" dir="1"/>
|
|
<energy type="16" mapID="54" name="欧古德矿石" collectType="采摘" collectCnt="1" unit="块" dir="1"/>
|
|
<energy type="17" mapID="54" name="黄晶矿" collectType="挖掘" collectCnt="5" unit="块" dir="7"/>
|
|
|
|
<energy type="27" mapID="57" name="黄晶矿" collectType="挖掘" collectCnt="5" unit="块" dir="1"/>
|
|
<energy type="28" mapID="60" name="黄晶矿" collectType="挖掘" collectCnt="5" unit="块" dir="5"/>
|
|
<energy type="29" mapID="325" name="黄晶矿" collectType="挖掘" collectCnt="5" unit="块" dir="1"/>
|
|
<energy type="30" mapID="328" name="甲烷燃气" collectType="采集" collectCnt="2" unit="罐" dir="5"/>
|
|
<energy type="31" mapID="688" name="黄晶矿" collectType="挖掘" collectCnt="5" unit="块" dir="1"/>
|
|
<energy type="32" mapID="404" name="黄晶矿" collectType="挖掘" collectCnt="5" unit="块" dir="1"/>
|
|
<energy type="33" mapID="429" name="甲烷燃气" collectType="采集" collectCnt="2" unit="罐" dir="5"/>
|
|
<energy type="34" mapID="494" name="黄晶矿" collectType="挖掘" collectCnt="5" unit="块" dir="5"/>
|
|
<energy type="35" mapID="702" name="甲烷燃气" collectType="采集" collectCnt="2" unit="罐" dir="7"/>
|
|
<energy type="36" mapID="29" name="甲烷燃气" collectType="采集" collectCnt="2" unit="罐" dir="7"/>
|
|
<energy type="37" mapID="688" name="甲烷燃气" collectType="采集" collectCnt="2" unit="罐" dir="6"/>
|
|
</root> |