Jump to content

MityQ

Member
  • Posts

    8
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by MityQ

  1. #ifdef HIDDEN_OX
                if (ent->IsType(ENTITY_CHARACTER) && m_me->IsType(ENTITY_CHARACTER))
                {
                    const LPCHARACTER chMe = static_cast<LPCHARACTER>(m_me);
                    const LPCHARACTER chEnt = static_cast<LPCHARACTER>(ent);
    
                    if (chMe->GetMapIndex() == OXEVENT_MAP_INDEX && !chMe->IsGM() && !chEnt->IsGM())
                    {
                        if (!chMe->GetParty() || chMe->GetParty() != chEnt->GetParty())
                            return;    
                    }
                }
    #endif

     

    • Metin2 Dev 1
  2. quest chests begin
    	state start begin
    		when 38057.use begin
    			sex = pc.get_sex()
    			local random_item
    			if sex == 1 then
    				random_item = { 41001, 41002, 41003, 41005, 41007, 41009, 41011, 41013, 41015, 41017, 41019, 41021, 41023, 41025, 41027,}
    			else
    				random_item = { 41001, 41002, 41004, 41006, 41008, 41010, 41012, 41014, 41016, 41018, 41020, 41022, 41024, 41026, 41028,}
    			end
    			pc.give_item2(random_item[math.random(1, table.getn(random_item))])
    		end
    	end
    end
    
    • Love 1
  3. try this:

    when login  begin
        local getCostume = {
                41003,
                41004,
                41005,
                41006,             
            }
        for slot = 0, 90 do
            if item.select_cell(slot) then
                for i = 1,table.getn(getCostume),1 do
                    if(pc.count_item(getCostume[i]) >= 1 ) then
                        if item.get_socket(0) <= get_time() then
                            item.remove()
                        end
                    end
                end
            end
        end
    end
  4. you have to change this:

    const int aiSkillBookCountForLevelUp[10] =
    {
        3, 3, 3, 3, 3, 4, 4, 5, 5, 6
    };
    
    // ADD_GRANDMASTER_SKILL
    const int aiGrandMasterSkillBookCountForLevelUp[10] =
    {
        3, 3, 5, 5, 7, 7, 10, 10, 10, 20,
    };
    
    const int aiGrandMasterSkillBookMinCount[10] =
    {
    //    1, 1, 3, 5, 10, 15, 20, 30, 40, 50,
    //    3, 3, 5, 5, 10, 10, 15, 15, 20, 30
        1, 1, 1, 2,  2,  3,  3,  4,  5,  6
    };
    
    const int aiGrandMasterSkillBookMaxCount[10] =
    {
    //    6, 15, 30, 45, 60, 80, 100, 120, 160, 200,
    //    6, 10, 15, 20, 30, 40, 50, 60, 70, 80
        5,  7,  9, 11, 13, 15, 20, 25, 30, 35
    };
    // END_OF_ADD_GRANDMASTER_SKIL

    L

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.