mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-08-03 04:21:12 -04:00
9 lines
406 B
Groovy
9 lines
406 B
Groovy
import intents.experience.GrantSkillIntent
|
|
import resources.objects.SWGObject
|
|
import resources.objects.creature.CreatureObject
|
|
import resources.player.Player
|
|
import services.galaxy.GalacticManager
|
|
|
|
static def execute(GalacticManager galacticManager, Player player, SWGObject target, String args) {
|
|
new GrantSkillIntent(GrantSkillIntent.IntentType.GRANT, args, target as CreatureObject, true).broadcast()
|
|
} |