brunoshp

Members
  • Content Count

    149
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Community Reputation

3 Neutral

5 Followers

About brunoshp

  • Rank
    Poporing

Profile Information

  • Gender
    Male
  • Location
    brazil

Recent Profile Visitors

2,383 profile views
  1. brunoshp

    Fullstrip cant check itens equipped

    Thank You man! You are the best!
  2. hi, i want to change the FULLSTRIP like this: when STALKER use this skill, him will remove all (armor,helm,shield and weapon) example: wizz received fullstrip but wizz dont have armor equipped, but will receive full strip in armor too. bool skill_strip_equip(struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv) { nullpo_retr(false, src); nullpo_retr(false, target); struct status_change *tsc = status_get_sc(target); if (!tsc || tsc->option&OPTION_MADOGEAR) // Mado Gear cannot be divested [Ind] return false; const int pos[5] = {EQP_WEAPON, EQP_SHIELD, EQP_ARMOR, EQP_HELM, EQP_ACC}; const enum sc_type sc_atk[5] = {SC_STRIPWEAPON, SC_STRIPSHIELD, SC_STRIPARMOR, SC_STRIPHELM, SC__STRIPACCESSORY}; const enum sc_type sc_def[5] = {SC_CP_WEAPON, SC_CP_SHIELD, SC_CP_ARMOR, SC_CP_HELM, SC_NONE}; struct status_data *sstatus = status_get_status_data(src), *tstatus = status_get_status_data(target); int rate, time, location, mod = 100; switch (skill_id) { // Rate case RG_STRIPWEAPON: case RG_STRIPARMOR: case RG_STRIPSHIELD: case RG_STRIPHELM: case GC_WEAPONCRUSH: rate = 50 * (skill_lv + 1) + 2 * (sstatus->dex - tstatus->dex); mod = 1000; break; case ST_FULLSTRIP: { int min_rate = 50 + 20 * skill_lv; rate = min_rate + 2 * (sstatus->dex - tstatus->dex); rate = max(min_rate, rate); mod = 1000; break; } case GS_DISARM: rate = sstatus->dex / (4 * (7 - skill_lv)) + sstatus->luk / (4 * (6 - skill_lv)); rate = rate + status_get_lv(src) - (tstatus->agi * rate / 100) - tstatus->luk - status_get_lv(target); break; case WL_EARTHSTRAIN: { int job_lv = 0; if (src->type == BL_PC) job_lv = ((TBL_PC*)src)->status.job_level; rate = 6 * skill_lv + job_lv / 4 + sstatus->dex / 10; break; } case SC_STRIPACCESSARY: rate = 12 + 2 * skill_lv; break; default: return false; } if (rnd()%mod >= rate) return false; switch (skill_id) { // Duration case SC_STRIPACCESSARY: case GS_DISARM: time = skill_get_time(skill_id, skill_lv); break; case WL_EARTHSTRAIN: case RG_STRIPWEAPON: case RG_STRIPARMOR: case RG_STRIPSHIELD: case RG_STRIPHELM: case GC_WEAPONCRUSH: case ST_FULLSTRIP: if (skill_id == WL_EARTHSTRAIN) time = skill_get_time2(skill_id, skill_lv); else time = skill_get_time(skill_id, skill_lv); if (target->type == BL_PC) time += skill_lv + 500 * (sstatus->dex - tstatus->dex); else { time += 15000; time += skill_lv + 500 * (sstatus->dex - tstatus->dex); } break; } switch (skill_id) { // Location case GC_WEAPONCRUSH: case RG_STRIPWEAPON: case GS_DISARM: location = EQP_WEAPON; break; case RG_STRIPARMOR: location = EQP_ARMOR; break; case RG_STRIPSHIELD: location = EQP_SHIELD; break; case RG_STRIPHELM: location = EQP_HELM; break; case ST_FULLSTRIP: location = EQP_WEAPON|EQP_SHIELD|EQP_ARMOR|EQP_HELM; break; case SC_STRIPACCESSARY: location = EQP_ACC; break; case WL_EARTHSTRAIN: location = EQP_SHIELD|EQP_ARMOR|EQP_HELM; if (skill_lv >= 4) location |= EQP_WEAPON; if (skill_lv >= 5) location |= EQP_ACC; break; } for (uint8 i = 0; i < ARRAYLENGTH(pos); i++) { if (location&pos[i] && sc_def[i] > SC_NONE && tsc->data[sc_def[i]]) location &=~ pos[i]; } if (!location) return false; for (uint8 i = 0; i < ARRAYLENGTH(pos); i++) { if (location&pos[i] && !sc_start(src, target, sc_atk[i], 100, skill_lv, time)) location &=~ pos[i]; } return location ? true : false; } i changed this code in any mods, but i cant do it!
  3. brunoshp

    Cap damage crit

    How i dot it on new emulators? SOLVED
  4. brunoshp

    skill_damage_db.txt not working?

    i have all // Caster: The groups for which the adjustment takes effect. (bitmask) // BL_PC = Player // BL_MOB = Monster // BL_PET = Pet // BL_HOM = Homunculus // BL_MER = Mercenary // BL_ELEM = Elemental // // Map: // 1 - Normal (the maps that aren't classified as these maps below) // 2 - PVP // 4 - GVG // 8 - Battlegrounds // 16 - 'skill_damage' mapflag // Restricted zones - they're configured by 'restricted <number>' mapflag // 32 - Zone 1 // 64 - Zone 2 // 128 - Zone 3 // 256 - Zone 4 // 512 - Zone 5 // 1024 - Zone 6 // 2048 - Zone 7 // // Notes: // Damage is a percentage between -100 and 100000. // Negative values decrease damage and positive values increase it (0 = no change). // // Examples: // MC_MAMMONITE,BL_PC,1,50 // In normal maps, players deal +50% damage to other players with Mammonite. //MO_EXTREMITYFIST,BL_PC,15,-99,-99,-99,-99 //MO_EXTREMITYFIST,1,15,-99,-99,-99,-99 but dont increase ou decrease damage skills.
  5. brunoshp

    skill_damage_db.txt not working?

    if i pt MO_EXTREMITYFIST,BL_PC,15,-50,-50,-50,-50 dont work too
  6. brunoshp

    skill_damage_db.txt not working?

    i made this commit but not have result. i put this: 271,1,15,-500,-500,-500,-500 or MO_EXTREMITYFIST,1,15,-500,-500,-500,-500 or MO_EXTREMITYFIST,BL_PC,15,-500,-500,-500,-500 or 271,BL_PC,15,-500,-500,-500,-500
  7. brunoshp

    skill_damage_db.txt not working?

    i cant reduce damage skill : 271 how i do it? i cant fond code in core.h too. was removed?
  8. brunoshp

    Magnum Break Not Functioning properly

    this problem was solved?
  9. brunoshp

    Compile Erro

    what i do to fix it? gcc: @[email protected]: No such file or directory make[1]: *** [obj/core.o] Error 1 make[1]: Leaving directory `/home/emulador/src/common' make: *** [common] Error 2 ps: have core.o in past obj.
  10. brunoshp

    Change Drops Show

    how i change to display separate MVPS cards? or have other method to make drop x and show in @mobinfo 2x?
  11. Hi man! are you fine?

  12. brunoshp

    Enable Skill in Map

    How i Able skill vending in map Noskill???
  13. brunoshp

    How can I load the item list in @alootid?

    you need put @aloottype +2 this is usable itens.
  14.  

    Good morning, how do I get the anti-hacker service?

    1. brunoshp

      brunoshp

      Man call me in Skype i have Problems in hackers

  15. brunoshp

    How to fiz Cash shoping

    i have this error whe buy in npc [Warning]: pc_paycash: More kafra points provided than needed (price=0, points=65536, account_id=2000000, char_id=150000). but whe i buy in cash button, the trader was ok!