Luck of Loot Context (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.10

Syntax

[the] loot[ing] [context] luck [value|factor] [of %lootcontexts%]

Description

Returns the luck of a loot context as a float. This represents the luck potion effect that an entity can have.

Examples

set {_luck} to loot luck value of {_context}
set {_context} to a loot context at player:
	set loot luck value to 10
	set looter to player
	set looted entity to last spawned pig

View source