Added some renewal behaviors of skills from bugreport:5302 (all under renewal mode)

- Venom Splasher no longer requires target to be at 3/4 or lower health to work.
- Deluge, Volcano and Violent Gale no longer require user to be of it's specific armor property to receive it's bonus.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15555 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-02-09 03:09:25 +00:00
parent 4e118878dd
commit 6f930a783c
2 changed files with 20 additions and 10 deletions

View File

@ -6224,7 +6224,14 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case AS_SPLASHER:
if(tstatus->mode&MD_BOSS || tstatus-> hp > tstatus->max_hp*3/4) {
if(tstatus->mode&MD_BOSS
/**
* Renewal dropped the 3/4 hp requirement
**/
#if isOFF(REMODE)
|| tstatus-> hp > tstatus->max_hp*3/4
#endif
) {
if (sd) clif_skill_fail(sd,skillid,USESKILL_FAIL_LEVEL,0);
map_freeblock_unlock();
return 1;

View File

@ -6157,22 +6157,25 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
val4 = 5 + val1*2; //Chance of casting
break;
case SC_VOLCANO:
if (status->def_ele == ELE_FIRE)
val2 = val1*10; //Watk increase
else
val2 = val1*10; //Watk increase
#if isOFF(REMODE)
if (status->def_ele != ELE_FIRE)
val2 = 0;
#endif
break;
case SC_VIOLENTGALE:
if (status->def_ele == ELE_WIND)
val2 = val1*3; //Flee increase
else
val2 = val1*3; //Flee increase
#if isOFF(REMODE)
if (status->def_ele != ELE_WIND)
val2 = 0;
#endif
break;
case SC_DELUGE:
if(status->def_ele == ELE_WATER)
val2 = deluge_eff[val1-1]; //HP increase
else
val2 = deluge_eff[val1-1]; //HP increase
#if isOFF(REMODE)
if(status->def_ele != ELE_WATER)
val2 = 0;
#endif
break;
case SC_SUITON:
if (!val2 || (sd && (sd->class_&MAPID_UPPERMASK) == MAPID_NINJA)) {