Jump to content

  •  

JohnyRox

Member Since 06 Mar 2015
Offline Last Active May 22 2017 02:36 AM
-----

Posts I've Made

In Topic: 2014 Clients "Adoption Problem"

29 May 2015 - 12:24 AM

I'm having this same problem! A need help !


In Topic: [solved]Tradução FluxCP hercules

11 April 2015 - 01:49 PM

Ai como eu sou cavalo ! kkkkk muito obrigado.


In Topic: bg_consume mapflag, "Battleground's items" that can only be used...

18 March 2015 - 12:40 AM

Can someone please fix it to new revision?

Bump.

Please update it for new Hercules version.

 

Yes plz !


In Topic: skill_require modification (if/else) statement.

15 March 2015 - 07:01 PM

hello, good afternoon staff.

I need it .:

 

Original:


RequiredItemID1,RequiredItemAmount1 

 

I want to:

 

RequiredItemID1 : ORRequiredItemID1 : ORRequiredItemID1,RequiredItemAmount1 

If player don't have item in inventory -> player can use ANOTHER item for requirement after ":".



This change is functional?

 

    //Status requirements    //FIXME: Default entry should be -1/SC_ALL in skill_require_db.txt but it's 0/SC_STONE.    trim(split[11]);    if (split[11][0] != '0' || atoi(split[11])) {        int require[MAX_SKILL_STATUS_REQUIRE];        if ((skill_db[idx].require.status_count = skill_split_atoi2(split[11], require, ":", SC_STONE, ARRAYLENGTH(require)))) {            CREATE(skill_db[idx].require.status, enum sc_type, skill_db[idx].require.status_count);            for (i = 0; i < skill_db[idx].require.status_count; i++)                skill_db[idx].require.status[i] = (sc_type)require[i];        }    }