Updates Poisonous Smoke behavior (#6263)
* Fixes #6199. * Adjusts the interval to every 2 seconds. * Adjusts the success rate to 50%. * Fixes the Poison Weapon effect not applying the 'enemy' status to those inside of Poisonous Smoke. * Venom Bleed should only be active for 15 seconds, not 5 minutes like the rest of the poisons. * Pyrexia will now cancel skill cast on each damage input. Thanks to @Everade!
This commit is contained in:
@@ -1778,7 +1778,7 @@ int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Dam
|
||||
if (sc->data[SC_POISONINGWEAPON] && flag&BF_SHORT && (skill_id == 0 || skill_id == GC_VENOMPRESSURE) && damage > 0) {
|
||||
damage += damage * 10 / 100;
|
||||
if (rnd() % 100 < sc->data[SC_POISONINGWEAPON]->val3)
|
||||
sc_start4(src, bl, (sc_type)sc->data[SC_POISONINGWEAPON]->val2, 100, sc->data[SC_POISONINGWEAPON]->val1, 0, 1, 0, skill_get_time2(GC_POISONINGWEAPON, 1));
|
||||
sc_start4(src, bl, (sc_type)sc->data[SC_POISONINGWEAPON]->val2, 100, sc->data[SC_POISONINGWEAPON]->val1, 0, 1, 0, (sc->data[SC_POISONINGWEAPON]->val2 == SC_VENOMBLEED ? skill_get_time2(GC_POISONINGWEAPON, 1) : skill_get_time2(GC_POISONINGWEAPON, 2)));
|
||||
}
|
||||
|
||||
if( sc->data[SC__DEADLYINFECT] && (flag&(BF_SHORT|BF_MAGIC)) == BF_SHORT && damage > 0 && rnd()%100 < 30 + 10 * sc->data[SC__DEADLYINFECT]->val1 )
|
||||
|
||||
Reference in New Issue
Block a user