func GetMobSkill(id byte) ([]MobSkill, error) {
	if _, ok := mobSkills[id]; !ok {
		return []MobSkill{}, fmt.Errorf("Invalid mob skill id: %v", id)
	}
	return mobSkills[id], nil
}
GetMobSkill from loaded nx
package nx
import (
	"fmt"
	"log"
	"github.com/Hucaru/gonx"
)
var items map[int32]Item
var maps map[int32]Map
var mobs map[int32]Mob
var playerSkills map[int32][]PlayerSkill
var mobSkills map[byte][]MobSkill
func LoadFile(fname string) {
	nodes, textLookup, _, _, err := gonx.Parse(fname)
	if err != nil {
		panic(err)
	}
	items = extractItems(nodes, textLookup)
	maps = extractMaps(nodes, textLookup)
	mobs = extractMobs(nodes, textLookup)
	playerSkills, mobSkills = extractSkills(nodes, textLookup)
}
func GetItem(id int32) (Item, error) {
	if _, ok := items[id]; !ok {
		return Item{}, fmt.Errorf("invalid item id: %v", id)
	}
	return items[id], nil
}
func GetMap(id int32) (Map, error) {
	if _, ok := maps[id]; !ok {
		return Map{}, fmt.Errorf("invalid map id: %v", id)
	}
	return maps[id], nil
}
func GetMaps() map[int32]Map {
	return maps
}
func GetMob(id int32) (Mob, error) {
	if _, ok := mobs[id]; !ok {
		return Mob{}, fmt.Errorf("invalid mob id: %v", id)
	}
	return mobs[id], nil
}
func GetPlayerSkill(id int32) ([]PlayerSkill, error) {
	if _, ok := playerSkills[id]; !ok {
		return []PlayerSkill{}, fmt.Errorf("Invalid player skill id: %v", id)
	}
	return playerSkills[id], nil
}