Search the Community
Showing results for tags 'dispel'.
Found 2 results
-
Prof dispel skill success rate on LK and sniper in pvp room
caspe posted a question in Source Requests
I need any kind of script or modification to make Lk and Sniper able to survive in pvp room, any kind of help would be great. There should be chances when dispel LK and sniper like 30% using lvl 5 dispel (like full strip chances). Thank You..... -
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/board/topic/58596-disable-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
- 6 replies
-
- Dispel
- Yggdrasil Berry
-
(and 1 more)
Tagged with: