Jump to content

  •  

unit001

Member Since 03 Sep 2013
Offline Last Active Apr 04 2015 03:00 PM
-----

Topics I've Started

Reflect Damage (possible bug)

15 October 2013 - 02:53 AM

Hi All,

 

Requesting your assistance to fix the Relect (Bug maybe?) skill.

 

On the screenshot below the Reflected damage (red circle) came first before the Main Damage (black circle).

The dilemma is that whenever a sura EF's anyone who has reflect (reflect damage, shield, card) the EF's reflected damage hits the Sura first then kills the sura immediately.. Leaving the reflectee (the one who has the reflect item/skill) alive..

 

Posted Image


Dispel / Yggdrasil Berry and Seed restriction

09 September 2013 - 12:11 AM

Good Morning,

 

Our server currently have 2 problems.

 

1. Food (Non-Cash) can be dispelled and;

2. We need to restrict the Crusader class to use Yggdrasil Berry (607) and Yggdrasil Seed (608). Although we are still figuring out if we want the restriction to be permanent, or during PVP/WOE only.

 

Below is a list of the stuff I already tried but failed.

 

We would like to refrain from using Cash Item for the +20 foods, because we want the Real Cash Food (+10) to stack with the +20 Food.

 

- Food Problem

 

Edit SC_Config.txt

SC_FOOD_STR, 94 // 2 + 4 + 8 + 16 + 64 = 94SC_FOOD_AGI, 94SC_FOOD_VIT, 94SC_FOOD_DEX, 94SC_FOOD_INT, 94SC_FOOD_LUK, 94

 

Edited Skill.C

Note: I commented on it because it gives compile Errors.

for(i = 0; i < SC_MAX; i++)				{					if ( !tsc->data[i] )							continue;					if( SC_COMMON_MAX < i ){						if ( iStatus->get_sc_type(i)&SC_NO_DISPELL )							continue;					}					switch (i) {						/**						 * bugreport:4888 these songs may only be dispelled if you're not in their song area anymore						 **/						case SC_WHISTLE:						case SC_ASSNCROS:						case SC_POEMBRAGI:						case SC_APPLEIDUN:						case SC_HUMMING:						case SC_DONTFORGETME:						case SC_FORTUNE:						case SC_SERVICEFORYOU:							if( tsc->data[i]->val4 ) //val4 = out-of-song-area								continue;							break;						case SC_ASSUMPTIO:							if( bl->type == BL_MOB )								continue;							break;						case SC_BERSERK:						case SC_SATURDAY_NIGHT_FEVER:							tsc->data[i]->val2=0;  //Mark a dispelled berserk to avoid setting hp to 100 by setting hp penalty to 0.							break;						//Case SC_FOOD_STR:						//Case SC_FOOD_AGI:						//Case SC_FOOD_VIT:						//Case SC_FOOD_DEX:						//Case SC_FOOD_INT:						//Case SC_FOOD_LUK:						//Case SC_FOOD_STR_CASH:						//Case SC_FOOD_AGI_CASH:						//Case SC_FOOD_VIT_CASH:						//Case SC_FOOD_DEX_CASH:						//Case SC_FOOD_INT_CASH:						//Case SC_FOOD_LUK_CASH:						//Case SC_INSPIRATION:					}

 

Edited Status.C

Note: I Commented the skills since it gives compile errors

int status_change_clear(struct block_list* bl, int type) {	struct status_change* sc;	int i;	sc = iStatus->get_sc(bl);	if (!sc || !sc->count)		return 0;	for(i = 0; i < SC_MAX; i++) {		if(!sc->data[i])			continue;		if(type == 0){			if( iStatus->get_sc_type(i)&SC_NO_REM_DEATH ){				switch (i) {				case SC_ARMOR_PROPERTY://Only when its Holy or Dark that it doesn't dispell on death					if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK )						break;				default:					continue;				}			}		}		if( type == 3 ) {			switch (i) {// TODO: This list may be incomplete			case SC_WEIGHTOVER50:			case SC_WEIGHTOVER90:			case SC_NOCHAT:			case SC_PUSH_CART:			case SC_JAILED:			case SC_ALL_RIDING:						//Case SC_FOOD_STR:						//Case SC_FOOD_AGI:						//Case SC_FOOD_VIT:						//Case SC_FOOD_DEX:						//Case SC_FOOD_INT:						//Case SC_FOOD_LUK:						//Case SC_FOOD_STR_CASH:						//Case SC_FOOD_AGI_CASH:						//Case SC_FOOD_VIT_CASH:						//Case SC_FOOD_DEX_CASH:						//Case SC_FOOD_INT_CASH:						//Case SC_FOOD_LUK_CASH:						//Case SC_INSPIRATION:				continue;			}		}

 

 

 

-- Yggdrasil Berry/Seed Restriction

 

I tried some stuff here > http://rathena.org/b...ygg-on-paladin/

 

I tried a lot of Hexcodes based on > http://herc.ws/wiki/Custom_Items

 

But still no avail.

 

Hoping for your kind assistance on this matter.

 

Thank You!

-Wilfred