Skip to content

Commit

Permalink
Merge pull request #307 from rathena/hotfix/issue296
Browse files Browse the repository at this point in the history
Fixes #296
- Warg Strike can now trigger by Fist, Dagger, and Bow (no restrictions).
  • Loading branch information
aleos89 committed Feb 27, 2015
2 parents 72a831a + cec6ed1 commit d8ecfeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/skill.c
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1
skill_castend_damage_id(src,bl,HT_BLITZBEAT,(skill<rate)?skill:rate,tick,SD_LEVEL);
}
// Automatic trigger of Warg Strike [Jobbie]
if( pc_iswug(sd) && (sd->status.weapon == W_BOW || sd->status.weapon == W_FIST) && (skill=pc_checkskill(sd,RA_WUGSTRIKE)) > 0 && rnd()%1000 <= sstatus->luk*10/3+1 )
if( pc_iswug(sd) && (skill = pc_checkskill(sd,RA_WUGSTRIKE)) > 0 && rnd()%1000 <= sstatus->luk*10/3+1 )
skill_castend_damage_id(src,bl,RA_WUGSTRIKE,skill,tick,0);
// Gank
if(dstmd && sd->status.weapon != W_BOW &&
Expand Down

0 comments on commit d8ecfeb

Please sign in to comment.