Fixed Sura Gentle Touch Energy Gain, bugreport:5358, now it gives you proper spheres
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15759 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -4097,6 +4097,13 @@ enum damage_lv battle_weapon_attack(struct block_list* src, struct block_list* t
|
||||
return ATK_DEF;
|
||||
return ATK_MISS;
|
||||
}
|
||||
if( sc->data[SC_GT_ENERGYGAIN] ) {
|
||||
if( sd && rand()%100 < 10 + 5 * sc->data[SC_GT_ENERGYGAIN]->val1)
|
||||
pc_addspiritball(sd,
|
||||
skill_get_time(MO_CALLSPIRITS, sc->data[SC_GT_ENERGYGAIN]->val1),
|
||||
sc->data[SC_GT_ENERGYGAIN]->val1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if(tsc && tsc->data[SC_KAAHI] && tsc->data[SC_KAAHI]->val4 == INVALID_TIMER && tstatus->hp < tstatus->max_hp)
|
||||
|
||||
Reference in New Issue
Block a user