Hunter Mod Link

Bringer

New member
Messages
148
Points
0
Emulator
rAthena
requesting for Sniper nonstop Sonic Blow When Using Injustice Card or Iset When under status of Hunter Spirit

On src/map/skill.c

if (skill == AS_SONICBLOW)

pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.

What Code i need to put ONLY Work For Sniper ?

 
requesting for Sniper nonstop Sonic Blow When Using Injustice Card or Iset When under status of Hunter Spirit

On src/map/skill.c

if (skill == AS_SONICBLOW)
pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.
 

What Code i need to put ONLY Work For Sniper ?
try this, i dont know if it will work

Code:
if (skill == AS_SONICBLOW)
    if( sc && sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 != SL_HUNTER )
        pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.
 
requesting for Sniper nonstop Sonic Blow When Using Injustice Card or Iset When under status of Hunter Spirit

On src/map/skill.c

if (skill == AS_SONICBLOW)
pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.

What Code i need to put ONLY Work For Sniper ?
try this, i dont know if it will work
Code:
if (skill == AS_SONICBLOW)
    if( sc && sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 != SL_HUNTER )
        pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.
nothing happen
 
Back
Top