summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-01 17:44:41 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-01 17:44:41 +0000
commite5f6750c82eed8625bd6f69f9d973de3ccfde9bb (patch)
tree95897dbe4f5c837359ce487aae8859bd0cec10d2 /src
parentf2fb40769774277b5e14074f5251269124da2976 (diff)
downloadhercules-e5f6750c82eed8625bd6f69f9d973de3ccfde9bb.tar.gz
hercules-e5f6750c82eed8625bd6f69f9d973de3ccfde9bb.tar.bz2
hercules-e5f6750c82eed8625bd6f69f9d973de3ccfde9bb.tar.xz
hercules-e5f6750c82eed8625bd6f69f9d973de3ccfde9bb.zip
- Fixed Autoblitz taking into account target's luck rather than attacker's
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6910 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index b6ed04147..9fea5bbee 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -988,7 +988,7 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int
if(sd) {
// Automatic trigger of Blitz Beat
if (pc_isfalcon(sd) && sd->status.weapon == W_BOW && (skill=pc_checkskill(sd,HT_BLITZBEAT))>0 &&
- rand()%1000 <= tstatus->luk*10/3+1 ) {
+ rand()%1000 <= sstatus->luk*10/3+1 ) {
int lv=(sd->status.job_level+9)/10;
skill_castend_damage_id(src,bl,HT_BLITZBEAT,(skill<lv)?skill:lv,tick,0xf00000);
}