コード例 #1
0
        public void LeveledUp(ComponentContainer components)
        {
            var clsLevel = components.Get <ClassLevel>();

            if (clsLevel.Level == 13 || clsLevel.Level == 17)
            {
                components.Add(LearnSpellToken.FromList("sorcerer-wizard"));
            }
        }
コード例 #2
0
 public void Initialize(ComponentContainer components)
 {
     components.Add(LearnSpellToken.FromList("sorcerer-wizard"));
 }