コード例 #1
0
        /// <summary>
        /// Change Skills
        /// </summary>
        bool Command318()
        {
            // Get actor
            GameActor actor = InGame.Actors[intParams[0] - 1];

            // Change skill
            if (actor != null)
            {
                if (intParams[1] == 0)
                {
                    actor.LearnSkill(intParams[2]);
                }
                else
                {
                    actor.ForgetSkill(intParams[2]);
                }
            }
            return(true);
        }