ue_ge_add_modifier
Add a modifier to a GameplayEffect by linking an AttributeSet attribute, operation, and fixed magnitude. Bypasses Unreal Engine Python API limitations via serialization.
Instructions
Aggiunge un modifier a un GameplayEffect: collega un attributo di un AttributeSet Blueprint esistente, un'operazione e un valore fisso.
Aggira un limite della Python API di UE (vedi nota sopra): il modo
normale di costruire un modifier è bloccato, questo tool lo aggira con
una tecnica di serializzazione testuale. Solo ScalableFloat costante,
niente curve o attribute-based magnitude per ora.
Args: ge_path: path del GameplayEffect Blueprint. attribute_set_path: path dell'AttributeSet Blueprint che possiede l'attributo. attribute_name: nome della variabile GameplayAttributeData su quell'AttributeSet (es. "Health"). modifier_op: "add" | "add_final" | "multiply" | "divide" | "multiply_compound" | "override". magnitude: valore fisso applicato (es. -10 per un danno di 10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ge_path | Yes | ||
| magnitude | Yes | ||
| modifier_op | Yes | ||
| attribute_name | Yes | ||
| attribute_set_path | Yes |