Risk of Rain 2
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
7 years ago
Downloads
3.8K
Size
89KB
Dependency string
PlexusDuMenton-ModRecalculate-0.2.0

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

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.