Exemplo n.º 1
0
        public void HandleUpgradeSkill(string rid, string sid)
        {
            Bio bio = this.GetBio(rid);

            if (bio == null)
            {
                return;
            }

            Skill skill = bio.GetSkill(sid);

            bio.UpgradeSkill(skill);
        }
Exemplo n.º 2
0
        public void HandleUseSkill(string sid, string srcId, string targetId, Vec3 targetPoint)
        {
            Bio src = this.GetBio(srcId);

            if (src == null)
            {
                return;
            }

            Bio   target = this.GetBio(targetId);
            Skill skill  = src.GetSkill(sid);

            src.UseSkill(skill, target, targetPoint);
        }