|
楼主 |
发表于 2022-5-25 04:48
|
显示全部楼层
如有BUG请自行Dnspy尝试修改
路径:
禁用从方块受到的伤害(如仙人掌等)
-/BlockDamage/OnEntityCollidedWithBlock
禁止地雷触发
-/BlockMine /OnEntityWalking
坠落伤害
-/EntityPlayerLocal/FallImpact
不会溺水
-/EntityPlayerLocal/isHeadUnderwater
无后座
-/EntityPlayerLocal/OnFired
可以开别人的车
-/EntityVehicle /IsOwner
-/EntityVehicle/IsUserAllowed
CM/DM
-/GameManager/<startGameCo>c__Iterator1/MoveNext()
控制台命令
-/GUIWindowConsole/EnterCommand
秒修理
-/ItemActionEntryRepair/OnActivated
秒分解
-/ItemActionEntryScrap/OnActivated
无弹药消耗
-/ItemActionRanged/ConsumeAmmo
秒搜刮
-/TileEntityLootContainer/GetOpenTime
无视玩家土地保护
-/World/GetLandProtectionHardnessModifier(Vector3i, EntityAlive, PersistentPlayerData)
禁用商人土地保护(可能僵尸也能拆?)
-/World/IsWithinTraderArea(Vector3i)
秒制作
-/XUiM_Recipes/GetRecipeCraftTime
伤害修改:
-/ItemActionAttack/Hit(World, WorldRayHitInfo, Int32, EnumDamageTypes, Single, Single, Single, Single, Single, Single, Single, String, DamageMultiplier, List<String>, AttackHitInfo, Int32, Single, ItemActionAttack , Dictionary<String, Bonuses>, EnumAttackMode, Boolean): Void
具体自行研究~Dnspy记得打开调试-选项-反编译器-显示编译器生成的隐藏类型和方法
就能看见路径了,改法无非就是
代码全删除或添加某个,比如
ldc.i4.0 +ret或ldc.i4.1+ret
ldc.r4 (后面数值)+ret
全删除+ret
|
|