커밋 중간
This commit is contained in:
@@ -28,8 +28,10 @@ namespace psycastDontNeedPsyfocus
|
|||||||
Log.Message("Cant find vpe");
|
Log.Message("Cant find vpe");
|
||||||
}
|
}
|
||||||
|
|
||||||
var Vmethod = typeof(AbilityDef).GetProperty(nameof(AbilityDef.PsyfocusCost)).GetGetMethod();
|
MethodBase Vmethod = typeof(AbilityDef).GetProperty(nameof(AbilityDef.PsyfocusCost)).GetGetMethod();
|
||||||
harmony.Patch(Vmethod, postfix: new HarmonyMethod(typeof(HarmonyPatch), nameof(Postfix_V)));
|
Log.Message(Vmethod.ToString());
|
||||||
|
//메서드는 발견한듯?
|
||||||
|
harmony.Patch(Vmethod, postfix: new HarmonyMethod(typeof(HarmonyPatches), nameof(Postfix_V)));
|
||||||
if (Vmethod != null)
|
if (Vmethod != null)
|
||||||
{
|
{
|
||||||
Log.Message("find v method");
|
Log.Message("find v method");
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>..\..\..\1.5\Assemblies\</OutputPath>
|
<OutputPath>..\..\..\Program Files %28x86%29\Steam\steamapps\common\RimWorld\Mods\PsycastDontNeedPsyfocus\1.5\Assemblies\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
|||||||
Reference in New Issue
Block a user