OldHero 12 Report post Posted June 27, 2016 Hello guys i need help something i have this script in my files and when i fuse set ... it dont give me glow back 95 unseal -- 1st part any help?? function ZhongShenTaoZhuang(role,now_tick) local ZhongShen_Value = CheckItem_ZHONGSHEN (role) if ZhongShen_Value ~= 0 then local statelv = 1 local statetime = 3600 AddState ( role , role , STATE_zhongshen , statelv , statetime ) return else local statelv_ZhongShen = GetChaStateLv ( role , STATE_zhongshen ) if statelv_ZhongShen~=0 then RemoveState ( role ,STATE_zhongshen ) return end return end end 2nd part function CheckItem_ZHONGSHEN ( role ) local body = GetChaItem ( role , 1 , 2 ) local hand = GetChaItem ( role , 1 , 3 ) local foot = GetChaItem ( role , 1 , 4 ) local Body_ID = GetItemID ( body ) local Hand_ID = GetItemID ( hand ) local Foot_ID = GetItemID ( foot ) local body_gem_id = GetItemAttr ( body , ITEMATTR_VAL_FUSIONID ) local hand_gem_id = GetItemAttr ( hand , ITEMATTR_VAL_FUSIONID ) local foot_gem_id = GetItemAttr ( foot , ITEMATTR_VAL_FUSIONID ) body_gem_id=Body_ID hand_gem_id=Hand_ID foot_gem_id=Foot_ID if body_gem_id ~= 3494 and body_gem_id ~= 3498 and body_gem_id ~= 3502 and body_gem_id ~= 3506 and body_gem_id ~= 3510 and body_gem_id ~= 3514 then return 0 end if hand_gem_id ~= 3495 and hand_gem_id ~= 3499 and hand_gem_id ~= 3503 and hand_gem_id ~= 3507 and hand_gem_id ~= 3511 and hand_gem_id ~= 3515 then return 0 end if foot_gem_id ~= 3496 and foot_gem_id ~= 3500 and foot_gem_id ~= 3504 and foot_gem_id ~= 3508 and foot_gem_id ~= 3512 and foot_gem_id ~= 3516 then return 0 end return 1 end Quote Share this post Link to post Share on other sites
Lucky 65 Report post Posted June 27, 2016 make sure u have the client side skilleff and sceneffectinfo Quote Share this post Link to post Share on other sites
OldHero 12 Report post Posted June 27, 2016 bro glow work when i have unf set.. but he wont work when i fuse set Quote Share this post Link to post Share on other sites
Billy 164 Report post Posted June 27, 2016 body_gem_id=Body_ID hand_gem_id=Hand_ID foot_gem_id=Foot_ID You are setting your variables equal to the item ID after setting them equal to the fuse ID, so it wont work when fused. Quote Share this post Link to post Share on other sites
OldHero 12 Report post Posted June 27, 2016 Hmm so i need remove that ? Quote Share this post Link to post Share on other sites
Billy 164 Report post Posted June 27, 2016 depends what you are tying to do: if you want it to only work when fused, then just remove it. If you want it to work when fused or unfused in any combination, add it to your if statements, eg: if body_gem_id ~= 3494 and body_gem_id ~= 3498 and body_gem_id ~= 3502 and body_gem_id ~= 3506 and body_gem_id ~= 3510 and body_gem_id ~= 3514 and Body_ID ~= 3494 and Body_ID ~= 3498 and Body_ID ~= 3502 and Body_ID ~= 3506 and Body_ID ~= 3510 and Body_ID ~= 3514 then return 0 end (you would do that for each part) If you wanted either the complete set to be fused, or the complete set unfused, you would have 2 blocks of if statements. Personally I dont like doing set glows that way, and use this instead: 1 Quote Share this post Link to post Share on other sites