Skript Snippet

import:
    dk.dream.combatlog.api.CombatLogAPI

condition %player% is in combat:
    check:
        if CombatLogAPI.inCombat(expr-1):
            continue

Eksempel på brug:

import:
    dk.dream.combatlog.api.CombatLogAPI

condition %player% is in combat:
    check:
        if CombatLogAPI.inCombat(expr-1):
            continue

command /spawn:
    trigger:
        if player is in combat:
            send "&cDu kan ikke skrive Spawn når du er i Combat." to player

Last updated