You are viewing a potentially older version of this package. View all versions.
PlexusDuMenton-ModRecalculate-0.2.0 icon

ModRecalculate

Library to help other modded modify Character and some item Stats

Date uploaded 5 years ago
Version 0.2.0
Download link PlexusDuMenton-ModRecalculate-0.2.0.zip
Downloads 367
Dependency string PlexusDuMenton-ModRecalculate-0.2.0

This mod requires the following mods to function

bbepis-BepInExPack-1.3.1 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, game API, detour library

Preferred version: 1.3.1

README

ModRecalculate

by PlexusDuMenton

Library/API to easily change CharacterBody.Recalculate() Create a list of hook to add/remove stats, and ItemSpecific hook, even PostRecalculate hook that apply before Health/Shield update (which is a bit issue if you edit maxHealth/MaxShield after)

###Developer Info Plugin ID : com.Plexus.ModRecalculate

CharacterDefault*** : Before Item are apllied
    ***Effect : Item specific hook
    ***Recalculate : Applyed after all item are applied
    PostRecalculate apply hook before the Health and Shield are updated

    Hook are additional,if you want to act multiplicative, do it in PostRecalculate
    Cooldown hook are MULTIPLICATIVE with other mod/BaseValue, if you want to make it Additional/Substractif, do it in PostRecalculate


LIST (IN ORDER OF CALL) :
        CharacterDefaultHealth
        InfusionEffect
        KnurlMaxHpEffect
        ItemBoosHpEffect
        HealthRecalculation

        CharacterDefaultShield
        TranscendenceEffect
        ShieldItemEffect
        ShieldRecalculation

        CharacterDefaultRegen
        SlugEffect
        KnurlRegenEffect
        HealthDecayEffect
        RegenRecalculation

        CharacterDefaultSpeed
        RedWimpHoofEffect
        EnergyDrinkEffect
        BettleJuiceSpeedEffect
        MoveSpeedRecalculation

        JumpPower
        JumpCount

        CharacterDefaultDamage
        BettleJuiceDamageEffect
		DamageBoostEffect
        DamageRecalculation

        CharacterDefaultAttackSpeed
        SyringueEffect
        BettleJuiceAttackSpeedEffect
        AttackSpeedRecalculation

        CharacterDefaultCrit
        GlassesEffect
        CritRecalculation

        CharacterDefaultArmor
        BucklerEffect
        ArmorRecalculation

        AlienHeadEffect
        CoolDownRecalculation

        PrimaryCoolDownMultiplier
        PrimaryStackCount

        SecondaryCoolDownMultiplier
        SecondaryStackCount

        UtilityCoolDownMultiplier
        UtilityStackCount
        
        PostRecalculate

###Changelog 0.2.0 : Added specific hook for DamageBoostEffect (multiplied with Character DefaultDamage Added Item Specific public value to edit from ModifyItem Hook Fixed Slug having no effect Fixed a LogSpamming bug

0.1.0 : Initial Release