Back to "weaponswap" tags

Basic Weapon swap for PvP by Kerrigan-Blades

1#Rotund - handling weapon swaps during pvp fights
2#Spam resilient
3#Prevents wasting dps on arena
4#Add it for every weapon. Remember some weapons are handled in left hand some are in right hand => change accordingly
5
6if not findtype 'kryss' righthand
7    warmode 'off'
8endif
9
10if targetexists 
11    if lhandempty and rhandempty
12        dress 'kryss'
13
14        while not findtype 'kryss' righthand
15        endwhile
16    endif
17
18    if not findtype 'kryss' righthand
19        clearhands 'both'
20
21        while not rhandempty and lhandempty
22        endwhile
23        
24        wait 600 //set this to your server ping +500. if you get message you must wait, up the values, if it feels too slow, lower the values
25        dress 'kryss'
26        
27        while not findtype 'kryss' righthand
28        endwhile
29    endif
30else
31    if findtype 'kryss' backpack
32        dclicktype 'kryss' backpack
33    endif
34endif
35
36warmode 'on'
37attack lasttarget