Jump to content

Easycore

Members
  • Content Count

    184
  • Joined

  • Days Won

    6

Posts posted by Easycore


  1. In pc.c find:
     

    sd->status.base_exp -= next;		//Kyoki pointed out that the max overcarry exp is the exp needed for the previous level -1. [Skotlex]		if(!battle_config.multi_level_up && sd->status.base_exp > next-1)			sd->status.base_exp = next-1;

    And replace for this:

     

    sd->status.base_exp -= next;		//Kyoki pointed out that the max overcarry exp is the exp needed for the previous level -1. [Skotlex]		if(!battle_config.multi_level_up && sd->status.base_level < 80 && sd->status.base_exp > next-1)			sd->status.base_exp = next-1;

     

     

     


  2. But there is an example of how clif->soundeffect is used O_o

    clif->soundeffect(<session data of who you send it to>, <source block list>, <name of file to play relative to datawav>, 0 <type, stands for play once, iirc other types except 0 do not work>)

     

    What exactly do you mean by "example" then? If you want to use it as skill sound with area you'll be better off using clif->soundeffectall btw.

    I tried use "clif->soundeffectall(src,"leaf_cat_die.wav", type, AREA);"

    but this isn't listening

     

    EDIT:

    "clif->soundeffectall(src,"leaf_cat_die.wav", type, AREA);" works, only I inserted this wrong.


  3. Do you mean you want some special effects last for a given time?

    I want do that specialeffect in a skill appear after 2 sec. when using the skill.

    But specialeffect doesn't has timer variable, Smokexys says that using timer->add() but I don't understand how use this. 


  4. yeah but I meant use a timer function to add a timer, timer->add(); and timer->delete(); through source. See timer.h for more information.

    I give up, I tried to use timer->add() but I can't work this


  5. Hi,

    I want do that skill "SM_BASH" has damage x2 only when target have Vit = multiples by 5.
    Then every 5,10,15,20,25,30,35,40,45,50,etc. Bash will deal damage x2.
     
    My problem is how do that always read multiples, and not putting an infinity of numbers.
     
    I don't want the following:
     

     

    				case MS_BASH:					skillratio += 30 * skill_lv;                    if (tstatus->vit == 5||10||15||20||25||30||35||40||45||50||55||) //And infinity numbers...                    skillratio *= 2;					break; 

     

    This metod is too tedious.

     

    Any know how simplify this?

     

    Regards ~ and sorry for my bad english

     


  6. Okay,

    in skill.c find:
     

    sc_start(src, bl, (sc_type)(SC_PROTECTWEAPON + i), 100, skill_lv, skilltime);
    s++;
    }
     
    And replace for this:
     
    sc_start(src, bl, (sc_type)(SC_PROTECTWEAPON + i), 100, skill_lv, skilltime);
    s++;
    }
    if( sd->sc.data[sC_SOULLINK] && sd->sc.data[sC_SOULLINK]->val2 == SL_ALCHEMIST ) {
    status_change_end(bl, SC_NOEQUIPHELM, INVALID_TIMER);
    status_change_end(bl, SC_NOEQUIPARMOR, INVALID_TIMER);
    status_change_end(bl, SC_NOEQUIPWEAPON, INVALID_TIMER);
    status_change_end(bl, SC_NOEQUIPSHIELD, INVALID_TIMER);
    }
     
    Recompile and done ~

  7. Hi,

    how can change the animation of a custom skill (Falcon Class)?

    When spell skill falcon doesn't move. I tried to edit on Lua files "skilleffectinfo", but I saw "actorstate.lua" not contain Falcon State.

     

    Sorry for my english x_x

     

    Regards ~


  8. Hi Hercules,

    today I tried using the job called "Death Knight", but when I attempt equip anything (inclusive Items for all jobs) or use consumible items, they don't work. Message appear "You can't put this item on".

     

    I think happens for something related with "MAPID" but I don't know.

     

    Someone help me?

     

    Regards ~

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.