- Added the necessary checks so that Suiton makes Fogwall have double duration, and to make water-requiring skills to consume their cells.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7813 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
aeaddd4ca7
commit
fc7e47d714
@ -4,6 +4,9 @@ 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.
|
||||||
|
|
||||||
2006/07/21
|
2006/07/21
|
||||||
|
* Added the necessary checks so that Suiton makes Fogwall have double
|
||||||
|
duration, and to make water-requiring skills to consume their cells.
|
||||||
|
[Skotlex]
|
||||||
* Corrected the loadmap event description to specify that the mapflag
|
* Corrected the loadmap event description to specify that the mapflag
|
||||||
required is actually "loadevent", NOT "loadmap"! [Skotlex]
|
required is actually "loadevent", NOT "loadmap"! [Skotlex]
|
||||||
* Now when the char-txt server does not finds a requested party, it will
|
* Now when the char-txt server does not finds a requested party, it will
|
||||||
|
@ -198,11 +198,11 @@ int battle_attr_fix(struct block_list *src, struct block_list *target, int damag
|
|||||||
ratio = attr_fix_table[def_lv-1][atk_elem][def_type];
|
ratio = attr_fix_table[def_lv-1][atk_elem][def_type];
|
||||||
if (sc && sc->count)
|
if (sc && sc->count)
|
||||||
{
|
{
|
||||||
if(sc->data[SC_VOLCANO].timer!=-1 && atk_elem == 3)
|
if(sc->data[SC_VOLCANO].timer!=-1 && atk_elem == ELE_FIRE)
|
||||||
ratio += enchant_eff[sc->data[SC_VOLCANO].val1-1];
|
ratio += enchant_eff[sc->data[SC_VOLCANO].val1-1];
|
||||||
if(sc->data[SC_VIOLENTGALE].timer!=-1 && atk_elem == 4)
|
if(sc->data[SC_VIOLENTGALE].timer!=-1 && atk_elem == ELE_WIND)
|
||||||
ratio += enchant_eff[sc->data[SC_VIOLENTGALE].val1-1];
|
ratio += enchant_eff[sc->data[SC_VIOLENTGALE].val1-1];
|
||||||
if(sc->data[SC_DELUGE].timer!=-1 && atk_elem == 1)
|
if(sc->data[SC_DELUGE].timer!=-1 && atk_elem == ELE_WATER)
|
||||||
ratio += enchant_eff[sc->data[SC_DELUGE].val1-1];
|
ratio += enchant_eff[sc->data[SC_DELUGE].val1-1];
|
||||||
}
|
}
|
||||||
if (tsc && tsc->count)
|
if (tsc && tsc->count)
|
||||||
|
@ -2434,6 +2434,8 @@ int skill_count_water (struct block_list *src, int range)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
unit = map_find_skill_unit_oncell(src,x,y,SA_DELUGE,NULL);
|
unit = map_find_skill_unit_oncell(src,x,y,SA_DELUGE,NULL);
|
||||||
|
if (!unit)
|
||||||
|
unit = map_find_skill_unit_oncell(src,x,y,NJ_SUITON,NULL);
|
||||||
if (unit) {
|
if (unit) {
|
||||||
cnt++;
|
cnt++;
|
||||||
skill_delunit(unit);
|
skill_delunit(unit);
|
||||||
@ -6717,8 +6719,10 @@ struct skill_unit_group *skill_unitsetting (struct block_list *src, int skillid,
|
|||||||
val1 = 55 + skilllv*5; //Elemental Resistance
|
val1 = 55 + skilllv*5; //Elemental Resistance
|
||||||
val2 = skilllv*10; //Status ailment resistance
|
val2 = skilllv*10; //Status ailment resistance
|
||||||
break;
|
break;
|
||||||
case PF_FOGWALL: /* フォグウォール */
|
case PF_FOGWALL:
|
||||||
if(sc && sc->data[SC_DELUGE].timer!=-1) limit *= 2;
|
if(sc && (
|
||||||
|
sc->data[SC_DELUGE].timer!=-1 || sc->data[SC_SUITON].timer != -1
|
||||||
|
)) limit *= 2;
|
||||||
break;
|
break;
|
||||||
case RG_GRAFFITI: /* Graffiti */
|
case RG_GRAFFITI: /* Graffiti */
|
||||||
count=1; // Leave this at 1 [Valaris]
|
count=1; // Leave this at 1 [Valaris]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user