feat: complete playtest parity improvements
This commit is contained in:
@@ -92,6 +92,8 @@ func use_item(instance_id: StringName, default_target, identification: ItemIdent
|
||||
var status := StringName(effect_data.get("status", ""))
|
||||
recipient.apply_status(StatusEffect.new(status, int(effect_data.get("duration", -1)), int(effect_data.get("magnitude", 0)), item.definition.id))
|
||||
effects.append({"type": effect_type, "status": status})
|
||||
&"learn_spell":
|
||||
effects.append({"type": effect_type, "spell": StringName(effect_data.get("spell", ""))})
|
||||
_:
|
||||
effects.append({"type": effect_type})
|
||||
var consumed := remove_item(instance_id)
|
||||
|
||||
Reference in New Issue
Block a user