Jump to content
Sign in to follow this  
Dimasik

НПС c 2РБ не дает пассивный скилл

Recommended Posts

Все смотрю и не могу разобраться в чем собственно проблема 

КОД:

--Перерождение Стрелок
function GetChaName4_born3 ( role,npc )
    local cha_type = GetChaTypeID ( role )
        if cha_type~=1 and cha_type~=3 then
            SystemNotice( role ,"\210\238\235\252\234\238 \203\224\237\241 \232\235\232 \212\232\235\235\232\241 \236\238\227\243\242 \241\242\224\242\252 \209\242\240\229\235\234\224\236\232 ")
            --SystemNotice( role ,"Только Ланс или Филлис могут стать Стрелками ")
                return
        end
    local check=GetChaName_born3 ( role )
        if check==0 then
            SystemNotice( role ,"\205\229 \226\251\239\238\235\237\229\237\251 \242\240\229\225\238\226\224\237\232\255 \207\229\240\229\240\238\230\228\229\237\232\255 ")
            --SystemNotice( role ,"Не выполнены требования Перерождения ")
                return
        end
--добавление Скилла перерождения
    local cha_job = GetChaAttr( role , ATTR_JOB )
        SetChaAttr(role, ATTR_JOB ,12 )         
        GiveItem_chibang3 ( role  )                    --Выдача крыльев перерождения
        GiveItem_zsbook3 ( role )
        RefreshCha ( role )

end

Share this post


Link to post
Share on other sites
В 07.11.2019 в 14:26, Graf сказал:

@Dimasik Выдача скилла перерождения происходит в GiveItem_zsbook3

Мне нужен пассивный скилл а не активный следовательно первое наименование?

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...