Anthoni 5 Report post Posted April 3, 2016 function GetChaName_born ( role ) local cha_name = GetChaDefaultName ( role ) local cha_lv = GetChaAttr(role, ATTR_LV) local cha_job = GetChaAttr(role, ATTR_JOB) local i = CheckBagItem( role, 2235 ) if i < 1 then SystemNotice( role ,"Please show your proof of rebirth") return 0 end local item_empty=IsEquip(role) if item_empty==LUA_TRUE then SystemNotice(role,"Please place the all items from character's equipment slot into the inventory!") return 0 end local Item_CanGet = GetChaFreeBagGridNum ( role ) if Item_CanGet < 5 then SystemNotice(role ,"Inventory needs to have at least 5 free slots!") UseItemFailed ( role ) return 0 end local zs1 =TakeItem( role, 0,2235, 1 ) if zs1==0 then SystemNotice ( role ,"Gather Rebirth Stone failed") return 0 end local Zs_Exp = GetChaAttr ( role , ATTR_CSAILEXP ) if Zs_Exp > 0 then SystemNotice(role ,"You've already rebirthed") return 0 end local QLZX= GetSkillLv ( role, SK_QLZX ) local cha_skill_num=GetChaAttr(role, ATTR_TP ) local clear_skill_num=ClearFightSkill(role) cha_skill_num=cha_skill_num+clear_skill_num if QLZX == 1 then cha_skill_num = cha_skill_num - 1 AddChaSkill ( role , SK_QLZX , 1 , 1 , 0 ) end SetChaAttr(role, ATTR_TP ,cha_skill_num ) local ap = GetChaAttr( role , ATTR_AP ) local cha_str = GetChaAttr(role, ATTR_BSTR ) local cha_dex = GetChaAttr(role, ATTR_BDEX ) local cha_agi = GetChaAttr(role, ATTR_BAGI ) local cha_con = GetChaAttr(role, ATTR_BCON ) local cha_sta = GetChaAttr(role, ATTR_BSTA ) ap=ap+cha_str+cha_dex+cha_agi+cha_con+cha_sta-25 SetChaAttr(role, ATTR_BSTR ,5 ) SyncChar(role,4) SetChaAttr(role, ATTR_BDEX ,5 ) SyncChar(role,4) SetChaAttr(role, ATTR_BAGI ,5 ) SyncChar(role,4) SetChaAttr(role, ATTR_BCON,5 ) SyncChar(role,4) SetChaAttr(role, ATTR_BSTA,5 ) SyncChar(role,4) SetChaAttr(role , ATTR_AP,ap ) SyncChar(role,4) AddSailExp(role, npc , 1 , 1 ) local sk_add = SK_ZSSL AddChaSkill ( role , sk_add , 1 , 1 , 0 ) PlayEffect( role, 361 ) Notice("Extreme celebration, "..cha_name.." Rebirth successful. Blessing from the whole server! "..cha_name.." Hope you have a safe journey and everything goes your way!") return 1 end Quote Share this post Link to post Share on other sites
V3ct0r 2,121 Report post Posted April 3, 2016 What is the problem? Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Lua 35 Report post Posted April 3, 2016 Guess he is talking about the passive rb skill. Quote Share this post Link to post Share on other sites
xEvo7 65 Report post Posted April 4, 2016 i think hes asking how he can put permanent +3 PR after 3rd RB Quote Hit Like If You Like It! Share this post Link to post Share on other sites
Anthoni 5 Report post Posted April 4, 2016 15 hours ago, V3ct0r said: What is the problem? I want to add when finished Rebirth gets bonus, Physical resist. Quote Share this post Link to post Share on other sites
Anthoni 5 Report post Posted April 4, 2016 14 hours ago, Lua said: Guess he is talking about the passive rb skill. Yes can help Quote Share this post Link to post Share on other sites
Anthoni 5 Report post Posted April 4, 2016 Just now, Anthoni said: I want to add when finished Rebirth gets bonus, Physical resist. Yes Quote Share this post Link to post Share on other sites
Jones 36 Report post Posted April 4, 2016 (edited) go to Skilleffect.lua and paste this function to the forum. >> function Skill_Rbmp_Use( role , sklv ) Edited April 4, 2016 by Jones Quote Share this post Link to post Share on other sites