DangThao 81 Report post Posted January 20, 2017 How to fix magic class True Sight? Whenever i installed Death Circle, the functionhook.lua will bug True Sight with the following code: -- ----------------------------- -- Hooking cleric true sight -- ----------------------------- if (deathcircle2_conf.disable_ts == true) then SkillSp_Syzy = function ( sklv ) return 0 -- No sp consumption end SkillArea_Square_Syzy = function ( sklv ) end SkillArea_State_Syzy = function ( sklv ) end end How to fix this? so it only works within deathcircle WITHOUT DELETE ANYTHING? NOTE: True Sight ONLY BUGGED is magic class true sight skill is enabled with the above line. Quote Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted January 20, 2017 Hi bro. It is isn't a bug. I think this happen because that function is not a hook, it is a replacement if deathcircle2_conf.disable_ts is true try: function Skill_Syzy_Begin(role, sklv) local sp = Sp(role) local sp_reduce = SkillSp_Syzy ( sklv ) if sp - sp_reduce < 0 then SkillUnable(role) return end if GetChaMapName(role) == 'deathcircle' then SystemNotice(role, 'Unable to use True Sight in current map') SkillUnable(role) return end Sp_Red (role , sp_reduce ) end Quote Share this post Link to post Share on other sites
DangThao 81 Report post Posted January 21, 2017 Aighty bro. Thank you. I'll give a try Quote Share this post Link to post Share on other sites