Jump to content

Muyo

Members
  • Content Count

    8
  • Joined

  • Last visited

  1. Muyo

    Luk and freezing

    Thanks, love. But... one question. How I can increase or decrease the need for LUK? Can you explain this "equation"? Maybe change of 250 for 300. (Sorry my english xD) I LOVE YOU!
  2. Muyo

    Luk and freezing

    Dude, in little words. More luk the player = less time frozen. Equal the cause of curse with VIT.
  3. Muyo

    Luk and freezing

    I tried this and continue slow. I try this case SC_FREEZE: sc_def = st->mdef*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def = 0; //No duration reduction tick_def = st->luk>249?0:tick_def; but no sucess. Time of unfreeze continue even. More idea? I gave changed line, this mean need remove old "tick_def = 0; //No duration reduction" Ok, too tried this and no success, slow for unfreeze. =[ More idea? Please, say "yes".
  4. Muyo

    Luk and freezing

    I try this case SC_FREEZE: sc_def = st->mdef*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def = 0; //No duration reduction tick_def = st->luk>249?0:tick_def; but no sucess. Time of unfreeze continue even. More idea?
  5. Muyo

    Luk and freezing

    On old emulator this do that LUK unfreeze more fast src/map/status.c case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10; tick = status->luk>249?0:tick; // luk:250 = unfreeze break; Now, the new emulator is (src/map/status.c) case SC_FREEZE: sc_def = st->mdef*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def = 0; //No duration reduction And if add this "tick = status->luk>249?0:tick;" gives error. Sorry my english... How do for not freeze with luk = 250? Thanks
  6. Muyo

    Luk & Thawing

    I wish someone would tell me where to change the source, so that the status luk accelerate thawing of a player. The more luk faster thaws. And not this: //Percentual resistance: 10000 = 100% Resist //Example: 50% -> sc_def=5000 -> 25%; 5000ms -> tick_def=5000 -> 2500ms int sc_def = 0, tick_def = -1; //-1 = use sc_def //Linear resistance substracted from rate and tick after percentual resistance was applied //Example: 25% -> sc_def2=2000 -> 5%; 2500ms -> tick_def2=2000 -> 500ms int sc_def2 = 0, tick_def2 = -1; //-1 = use sc_def2 struct status_data* status; struct status_change* sc; struct map_session_data *sd; nullpo_ret(bl); or this case SC_FREEZE: sc_def = status->mdef*100; sc_def2 = status->luk*10; tick = status->luk>199?0:tick; I was told it was in src / map / status.c status_get_sc_def
  7. O infeliz desde post não disse como que conseguiu arrumar. Alguém poderia ou terei que recorrer aos admin em inglês? http://herc.ws/board/topic/1220-char-congelando-com-300-de-luk/ Eu achei o arquivo citado pelo Ind mas não sei como consertar. //Applies SC defense to a given status change.//Returns the adjusted duration based on flag values.//the flag values are the same as in status_change_start.int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int tick, int flag){ //Percentual resistance: 10000 = 100% Resist //Example: 50% -> sc_def=5000 -> 25%; 5000ms -> tick_def=5000 -> 2500ms int sc_def = 0, tick_def = -1; //-1 = use sc_def //Linear resistance substracted from rate and tick after percentual resistance was applied //Example: 25% -> sc_def2=2000 -> 5%; 2500ms -> tick_def2=2000 -> 500ms int sc_def2 = 0, tick_def2 = -1; //-1 = use sc_def2 struct status_data* status; struct status_change* sc; struct map_session_data *sd; nullpo_ret(bl); Gostaria de saber como deixar à moda antiga. Grato _____ @edit resolvido SOlução //Applies SC defense to a given status change.//Returns the adjusted duration based on flag values.//the flag values are the same as in status_change_start.int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int tick, int flag){ //Percentual resistance: 10000 = 100% Resist //Example: 50% -> sc_def=5000 -> 25%; 5000ms -> tick_def=5000 -> 2500ms int sc_def = 5000, tick_def = 5000; //-1 = use sc_def //Linear resistance substracted from rate and tick after percentual resistance was applied //Example: 25% -> sc_def2=2000 -> 5%; 2500ms -> tick_def2=2000 -> 500ms int sc_def2 = 2000, tick_def2 = 2500; //-1 = use sc_def2 struct status_data* status; struct status_change* sc; struct map_session_data *sd; nullpo_ret(bl);
×
×
  • Create New...

Important Information

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