Dvrstle Posted June 4, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Share Posted June 4, 2012 how can i exclude a skill in the dispell skill . . . eX. Inspiration . .. its should not be affected by dispell. . . =) tnx in advance Quote Link to comment Share on other sites More sharing options...
EvilPuncker Posted June 4, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted June 4, 2012 line 6212 of skill.c add a new "case SC_YOURSTATUS" to your desired status Quote Link to comment Share on other sites More sharing options...
Dvrstle Posted June 4, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 361 Reputation: 10 Joined: 12/30/11 Last Seen: January 3, 2016 Author Share Posted June 4, 2012 ohw. . . gonna try it .. =) tnx Quote Link to comment Share on other sites More sharing options...
clydelion Posted June 4, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Share Posted June 4, 2012 find this in status.c /*========================================== * Clears buffs/debuffs of a character. * type&1 -> buffs, type&2 -> debuffs *------------------------------------------*/ int status_change_clear_buffs (struct block_list* bl, int type) { int i; struct status_change *sc= status_get_sc(bl); if (!sc || !sc->count) return 0; if (type&2) //Debuffs for( i = SC_COMMON_MIN; i <= SC_COMMON_MAX; i++ ) { status_change_end(bl, (sc_type)i, INVALID_TIMER); } for( i = SC_COMMON_MAX+1; i < SC_MAX; i++ ) { if(!sc->data[i]) continue; switch (i) { //Stuff that cannot be removed case SC_WEIGHT50: case SC_WEIGHT90: case SC_COMBO: case SC_SMA: case SC_DANCING: case SC_LEADERSHIP: case SC_GLORYWOUNDS: case SC_SOULCOLD: case SC_HAWKEYES: case SC_GUILDAURA: case SC_SAFETYWALL: case SC_PNEUMA: case SC_NOCHAT: case SC_JAILED: case SC_ANKLE: case SC_BLADESTOP: case SC_CP_WEAPON: case SC_CP_SHIELD: case SC_CP_ARMOR: case SC_CP_HELM: case SC_STRFOOD: case SC_AGIFOOD: case SC_VITFOOD: case SC_INTFOOD: case SC_DEXFOOD: case SC_LUKFOOD: case SC_HITFOOD: case SC_FLEEFOOD: case SC_BATKFOOD: case SC_WATKFOOD: case SC_MATKFOOD: 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_EXPBOOST: case SC_JEXPBOOST: case SC_ITEMBOOST: case SC_ELECTRICSHOCKER: case SC__MANHOLE: case SC_GIANTGROWTH: case SC_MILLENNIUMSHIELD: case SC_REFRESH: case SC_STONEHARDSKIN: case SC_VITALITYACTIVATION: case SC_FIGHTINGSPIRIT: case SC_ABUNDANCE: case SC_CURSEDCIRCLE_ATKER: case SC_CURSEDCIRCLE_TARGET: continue; Quote Link to comment Share on other sites More sharing options...
Question
Dvrstle
how can i exclude a skill in the dispell skill . . . eX. Inspiration . .. its should not be affected by dispell. . . =) tnx in advance
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.