Kaupe will now trigger from mobs, homuns and mercenaries, as well. (bugreport:2297)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13252 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
850cf0d038
commit
bc3b30a2d3
@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2008/10/01
|
2008/10/01
|
||||||
|
* Rev. 13252 Kaupe will now trigger from mobs, homuns and mercenaries, as well. (bugreport:2297) [L0ne_W0lf]
|
||||||
* Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. Follow up to r13225. [L0ne_W0lf]
|
* Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. Follow up to r13225. [L0ne_W0lf]
|
||||||
* Kaahi will now override override higher existing levels previously casted. (bugreport:2296)
|
* Kaahi will now override override higher existing levels previously casted. (bugreport:2296)
|
||||||
2008/09/27
|
2008/09/27
|
||||||
|
@ -363,10 +363,8 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i
|
|||||||
if(sc->data[SC_TATAMIGAESHI] && (flag&(BF_MAGIC|BF_LONG)) == BF_LONG)
|
if(sc->data[SC_TATAMIGAESHI] && (flag&(BF_MAGIC|BF_LONG)) == BF_LONG)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if((sce=sc->data[SC_KAUPE]) &&
|
if((sce=sc->data[SC_KAUPE]) && rand()%100 < sce->val2)
|
||||||
rand()%100 < sce->val2 &&
|
{ //Kaupe blocks damage (skill or otherwise) from players, mobs, homuns, mercenaries.
|
||||||
(src->type == BL_PC || !skill_num))
|
|
||||||
{ //Kaupe only blocks all skills of players.
|
|
||||||
clif_specialeffect(bl, 462, AREA);
|
clif_specialeffect(bl, 462, AREA);
|
||||||
//Shouldn't end until Breaker's non-weapon part connects.
|
//Shouldn't end until Breaker's non-weapon part connects.
|
||||||
if (skill_num != ASC_BREAKER || !(flag&BF_WEAPON))
|
if (skill_num != ASC_BREAKER || !(flag&BF_WEAPON))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user