Jump to content

Search the Community

Showing results for tags 'Yggdrasil Berry'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Bulletin Centre
    • Community News
    • Repository News
    • Ragnarok News
  • Hercules Development Centre
    • Development Discussion
    • Suggestions
    • Development Centre Archives
  • Support & Releases
    • General Server Support
    • Database
    • Scripting
    • Source
    • Plugin
    • Client-Side
    • Graphic Enhancements
    • Other Support & Releases
  • Hercules Community
    • General Discussion
    • Projects
    • Employment
    • Server Advertisement
    • Arts & Writings
    • Off Topic
  • 3CeAM Centre
    • News and Development
    • Community
  • International Communities
    • Filipino Community
    • Portuguese Community
    • Spanish Community
    • Other Communities

Categories

  • Client Resources
  • Graphic Resources
    • Sprites & Palettes
    • Maps & Textures
    • Other Graphics
  • Server Resources
    • Server Managers / Editors Releases
    • Script Releases
    • Source Modifications
    • Plugins
    • Pre-Compiled Server
  • Web Resources

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Discord


Skype


IRC Nickname


Website URL


Location:


Interests


Github

Found 1 result

  1. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.