Ejemplo n.º 1
0
    public static BaseSkill CreateSkill(
        int skillid,
        InGameBaseCharacter source,
        InGameBaseCharacter target)
    {
        BaseSkill skill = InGameManager.GetInstance().inGameObjManager.AddSkill(skillid, source.camp) as BaseSkill;

        skill.SkillInit(source, target);
        return(skill);
    }