Skill pvp

testconta

New member
Messages
20
Points
0
Hello friends, I would like to know how to activate the Leap skill in pvp and woe, when I use it, it jumps and stays in the same place, it does not advance any cells forward

 
go to your skill.c 

look for 
    

        case TK_HIGHJUMP:
            {
                int x,y, dir = unit->getdir(src);

                //Fails on noteleport maps, except for GvG and BG maps [Skotlex]
                if( map->list[src->m].flag.noteleport
                 && !(map->list[src->m].flag.battleground || map_flag_gvg2(src->m))
                ) {
                    x = src->x;
                    y = src->y;
                } else {
                    x = src->x + dirx[dir]*skill_lv*2;
                    y = src->y + diry[dir]*skill_lv*2;
                }

                clif->skill_nodamage(src,bl,TK_HIGHJUMP,skill_lv,1);
                if (!map->count_oncell(src->m, x, y, BL_PC | BL_NPC | BL_MOB, 0) && map->getcell(src->m, src, x, y, CELL_CHKREACH)) {
                    clif->slide(src,x,y);
                    unit->movepos(src, x, y, 1, 0);
                }
            }
            break;


You can probably erase this entire section: 

if( map->list[src->m].flag.noteleport
                 && !(map->list[src->m].flag.battleground || map_flag_gvg2(src->m))
                ) {
                    x = src->x;
                    y = src->y;
                }


or maybe just erase the flag.battleground

then recompile 

Not sure exactly and not gonna test it myself but its one of these

 
Last edited by a moderator:
Back
Top