Exemplo n.º 1
0
    public override void OnEquiped(CharacterCard toCharacterCard)
    {
        //告知角色被装备该装备,如果已有装备则删除以后装备和BUFF
        toCharacterCard.EquipWeapon(this);

        //添加BUFF
        toCharacterCard.AddState(equipmentState, this);
    }