Fixed Mystical Amplification and Chain Lightning (#2907)
* Fixes #2897. * Mystical Amplification should only boost the damage for the first Chain Lightning attack. Thanks to @admkakaroto!
This commit is contained in:
parent
d2c5ca99fa
commit
02983c4f63
@ -4101,8 +4101,8 @@ static int skill_timerskill(int tid, unsigned int tick, int id, intptr_t data)
|
||||
}
|
||||
break;
|
||||
case WL_CHAINLIGHTNING_ATK: {
|
||||
skill_attack(BF_MAGIC,src,src,target,skl->skill_id,skl->skill_lv,tick,9 - skl->type); // Hit a Lightning on the current Target
|
||||
skill_toggle_magicpower(src, skl->skill_id); // Only the first hit will be amplified
|
||||
skill_attack(BF_MAGIC,src,src,target,skl->skill_id,skl->skill_lv,tick,9 - skl->type); // Hit a Lightning on the current Target
|
||||
if( skl->type < (4 + skl->skill_lv - 1) && skl->x < 3 )
|
||||
{ // Remaining Chains Hit
|
||||
struct block_list *nbl = NULL; // Next Target of Chain
|
||||
|
Loading…
x
Reference in New Issue
Block a user