Skip to content

Attributes

An Addon to Reskillable

27k downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

This is a small addon to Reskillable that adds four new Passive Traits.

Passive Buffs:
- Passive Mining Speed | Adds a configurable Float Value worth of Mining Speed per Level of Mining
- Passive Attack Damage | Adds a configurable Float Value worth of Attack Damage per Level of Attack
- Passive Resistance | Adds a configurable Float Value worth of Damage Reduction per Level of Defence

"Active" Buffs:
- Adaptation | Grants one or several Potion Effects upon attacking an Entity tied to those effects.

"Adaptation Links" are added through Zenscript, here's an example:

===========================================================

mods.attributes.AdaptationTweaker.addAdaptation(IEntityDefinition definition, IPotionEffect... effects);


// Creates a Strength Potion Effect Variable
var potion = <potion:minecraft:strength>.makePotionEffect(100, 2);

// Adds the Adaptation Value
mods.attributes.Adaptations.addAdaptation(<entity:minecraft:zombie>, potion);

 ===========================================================