scenemap and effect enforcers.
This commit is contained in:
+2
-3
@@ -3,14 +3,13 @@ package commands
|
||||
import (
|
||||
"fmt"
|
||||
lucifer3 "git.aiterp.net/lucifer3/server"
|
||||
"git.aiterp.net/lucifer3/server/internal/formattools"
|
||||
)
|
||||
|
||||
type Assign struct {
|
||||
IDs []string `json:"ids"`
|
||||
Match string `json:"match"`
|
||||
Effect lucifer3.Effect `json:"effect"`
|
||||
}
|
||||
|
||||
func (c Assign) CommandDescription() string {
|
||||
return fmt.Sprintf("Assign(%v, %s)", formattools.CompactIDList(c.IDs), c.Effect.EffectDescription())
|
||||
return fmt.Sprintf("Assign(%s, %s)", c.Match, c.Effect.EffectDescription())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user