MiniMan 1 Report post Posted March 31, 2019 Looking for someone who could help me to make balanced pk map that's mean all the players will have same stats inside this map doesn't matter if he's gemmed or clean everyone will be with same stats if someone can help me to do it pm me here or discord : MiniMan#9579 I can pay for the service thanks . Quote Share this post Link to post Share on other sites
1g0rS1lv4 68 Report post Posted March 31, 2019 @Angelix I believe he has something similar to what you want. @MiniMan Quote Being better than others is for those who are weak; what matters is to be true to yourself. Share this post Link to post Share on other sites
MiniMan 1 Report post Posted April 1, 2019 @1g0rS1lv4 Thanks Quote Share this post Link to post Share on other sites
Eviles 179 Report post Posted April 1, 2019 (edited) Hi @MiniMan! Q: How to make this work? R: Simple, paste codes below at end of AttrCalculate.lua and call BalancedPkMap(role) at navtive function located at AttrCalculate.lua -> ExAttrSet(role) or use hooks. Native function method function ExAttrSet(role) if IsPlayer(role) == 1 then BalancedPkMap(role) -- Some codes heres end Hooking method, must have Hook Library by Matt Hook:AddPostHook("ExAttrSet", BalancedPkMap) Note¹: I didn't tested that, but may work. NewPlayerAttrSet = {} NewPlayerAttrSet.Attribute = {Max = {HP = 100, SP = 100}, Attack = {Min = 2000, Max = 2500, Speed = 250}, Defense = 500, Resist = 25, HitRate = 250, Dodge = 250, MoveSpeed = 600} BalancedPkMap = function(Player) if GetChaMapName(Player) == "FarmMap" then if NewPlayerAttrSet.Attribute ~= nil then local mf_final = Mf_final(Player) local crt_final = Crt_final(Player) local hrec_final = Hrec_final(Player) local srec_final = Srec_final(Player) local adis_final = Adis_final(Player) SetCharaAttr(NewPlayerAttrSet.Attribute.Max.HP, Player, ATTR_MXHP) SetCharaAttr(NewPlayerAttrSet.Attribute.Max.SP, Player, ATTR_MXSP) SetCharaAttr(NewPlayerAttrSet.Attribute.Attack.Min, Player, ATTR_MNATK) SetCharaAttr(NewPlayerAttrSet.Attribute.Attack.Max, Player, ATTR_MXATK) SetCharaAttr(NewPlayerAttrSet.Attribute.Defense, Player, ATTR_DEF ) SetCharaAttr(NewPlayerAttrSet.Attribute.Resist, Player, ATTR_PDEF) SetCharaAttr(NewPlayerAttrSet.Attribute.HitRate, Player, ATTR_HIT ) SetCharaAttr(NewPlayerAttrSet.Attribute.Dodge, Player, ATTR_FLEE) SetCharaAttr(mf_final, Player, ATTR_MF ) SetCharaAttr(crt_final, Player, ATTR_CRT ) SetCharaAttr(hrec_final, Player, ATTR_HREC ) SetCharaAttr(srec_final, Player, ATTR_SREC ) SetCharaAttr(adis_final, Player, ATTR_ADIS ) SetCharaAttr(NewPlayerAttrSet.Attribute.MoveSpeed, Player, ATTR_MSPD ) SetCharaAttr(100000/NewPlayerAttrSet.Attribute.Attack.Speed, Player, ATTR_ASPD ) end end end Edited April 2, 2019 by Satan Code fixing 1 Quote Share this post Link to post Share on other sites
MiniMan 1 Report post Posted April 2, 2019 @Satan thanks alot bro Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted April 3, 2019 Hello, @MiniMan! Also do not forget about skills and items (cakes and other cook for example) 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
Myruni 11 Report post Posted May 30, 2023 (edited) On 4/3/2019 at 2:20 PM, V3ct0r said: Hello, @MiniMan! Also do not forget about skills and items (cakes and other cook for example) Any clues on how to make skills that affect attributes work with this balanced map script? Ie. Abyss mire does not affect the attribute (decreases mspd) of player being affected. Thanks. Edited May 30, 2023 by Myruni Quote Share this post Link to post Share on other sites
Myruni 11 Report post Posted June 11, 2023 On 5/30/2023 at 11:39 PM, Myruni said: Any clues on how to make skills that affect attributes work with this balanced map script? Ie. Abyss mire does not affect the attribute (decreases mspd) of player being affected. Thanks. bump. Quote Share this post Link to post Share on other sites