Jump to content

OldHero

Community
  • Content Count

    111
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by OldHero


  1. So this map1 and map2 need stay no need touch it or i can edit this  or can just copy this  and edit how i want ?

    ['PKmap'] = { Fusable = false, KickToMap = 'garner', Equips = { Head = nil, Armour = {825}, Gloves = {826}, Boots = {827}, LeftHand = nil, RightHand = nil, LeftRing = nil, RightRing = nil, Necklace =nil, } }, } }


  2. 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

     

     

×
×
  • Create New...