【异星计划】游戏dll修改参数加速物资投递方法
懒得放dll分享文件了,只要用dnSpy打开就很容易改,就一个参数<br /><br />找到【<font color="#ff800">GetDeliveryTime</font>】然后再改里面的<br /><font color="#dcdcdc"> </font><font color="#569cd6">return</font><font color="#dcdcdc"> </font><font color="#09933">Mathf</font><font color="#b4b4b4">.</font><font color="#e6730">CeilToInt</font><font color="#dcdcdc">((</font><font color="#569cd6">float</font><font color="#dcdcdc">)</font><font color="#dcdcdc"><strong>deliveryTime</strong></font><font color="#dcdcdc"> </font><font color="#b4b4b4">*</font><font color="#dcdcdc"> </font><font color="#569cd6">this</font><font color="#b4b4b4">.</font><font color="#aa70ff">_stationDeliveryModificator</font><font color="#dcdcdc"> </font><font color="#b4b4b4">*</font><font color="#dcdcdc"> </font><font color="#569cd6">this</font><font color="#b4b4b4">.</font><font color="#aa70ff">_missionDeliveryModificator</font><font color="#dcdcdc">);</font><font color="#dcdcdc"><br /></font><br /><font color="#000000">为</font><br /><font color="#dcdcdc"> </font><font color="#569cd6">return</font><font color="#dcdcdc"> </font><font color="#09933">Mathf</font><font color="#b4b4b4">.</font><font color="#e6730">CeilToInt</font><font color="#dcdcdc">((</font><font color="#569cd6">float</font><font color="#dcdcdc">)</font><font color="#dcdcdc"><strong>deliveryTime</strong></font><font color="#dcdcdc"> </font><font color="#b4b4b4">*</font><font color="#dcdcdc"> </font><font color="#569cd6">this</font><font color="#b4b4b4">.</font><font color="#aa70ff">_stationDeliveryModificator</font><font color="#dcdcdc"> </font><font color="#b4b4b4">/</font><font color="#dcdcdc"> </font><font color="#b5cea8">10f</font><font color="#dcdcdc"> </font><font color="#b4b4b4">*</font><font color="#dcdcdc"> </font><font color="#569cd6">this</font><font color="#b4b4b4">.</font><font color="#aa70ff">_missionDeliveryModificator</font><font color="#dcdcdc">);</font><font color="#dcdcdc"><br /></font><br /><font style="background-color:white"><font color="#000000">物资投射消耗时间就能除10,</font></font><br /><font style="background-color:white"><font color="#000000">中间加个/10了,也可以自己改其他的数值</font></font><br /><font style="background-color:white"><font color="#000000">记得不要用乘小数的方式写</font></font><br />
页:
[1]