You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
308 B
15 lines
308 B
package commands
|
|
|
|
import (
|
|
"fmt"
|
|
lucifer3 "git.aiterp.net/lucifer3/server"
|
|
)
|
|
|
|
type Assign struct {
|
|
Match string `json:"match"`
|
|
Effect lucifer3.Effect `json:"effect"`
|
|
}
|
|
|
|
func (c Assign) CommandDescription() string {
|
|
return fmt.Sprintf("Assign(%s, %s)", c.Match, c.Effect.EffectDescription())
|
|
}
|