static public System.Boolean Fix() { if ( !ScrambledBugs.Patterns.Fixes.ActorValuePercentage.ActorValueCondition || !ScrambledBugs.Patterns.Fixes.ActorValuePercentage.ActorValueEnemyHealth || !ScrambledBugs.Patterns.Fixes.ActorValuePercentage.ActorValuePapyrus || !ScrambledBugs.Patterns.Fixes.ActorValuePercentage.HealthCondition || !ScrambledBugs.Patterns.Fixes.ActorValuePercentage.StaminaCondition ) { return(false); } ActorValuePercentage.GetActorValuePercentage(); ActorValuePercentage.GetHealthPercentage(); ActorValuePercentage.GetStaminaPercentage(); return(true); }
static System.Single GetActorValuePercentage(Actor *actor, System.Int32 actorValue) { return(ActorValuePercentage.GetActorValuePercentage(actor, (ActorValue)actorValue)); }