public void HandleUpgradeSkill(string rid, string sid) { Bio bio = this.GetBio(rid); if (bio == null) { return; } Skill skill = bio.GetSkill(sid); bio.UpgradeSkill(skill); }
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); }