Jump to content
  • 0

WEAPON ELEMENT CHANGE


BigBurrito

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.02
  • Content Count:  114
  • Reputation:   5
  • Joined:  07/16/16
  • Last Seen:  

So I've been trying to find where to find my situation about the weapons element in status.c. So my thing is that (specially Sinx), whenever you have the weapon element (the scrools) it will wear of once you take off one weapon. I know that is official Behavior, but i wanted to change that you need to take off both weapons in order for the Element to wear of.. since even changing from a left hand dagger to a shield will wear off the element. I could not find the solution, tho I was wondering if i could do this. add SC_FIREWEAPON, SC_WATERWEAPON, SC_WINDWEAPON, SC_EARTHWEAPON, to the status.c at:

 

if(type == 0) {
switch (i) { // Type 0: PC killed -> Place here statuses that do not dispel on death.
case SC_ELEMENTALCHANGE: // 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;
case SC_WEIGHT50:
case SC_WEIGHT90:
case SC_EDP:
case SC_MELTDOWN:
case SC_WEDDING:
case SC_XMAS:
case SC_SUMMER:
case SC_HANBOK:
case SC_OKTOBERFEST:
case SC_NOCHAT:
case SC_FUSION:
case SC_EARTHSCROLL:
case SC_READYSTORM:
case SC_READYDOWN:
case SC_READYCOUNTER:
case SC_READYTURN:
case SC_DODGE:
case SC_MIRACLE:
case SC_JAILED:
case SC_EXPBOOST:
case SC_ITEMBOOST:
case SC_HELLPOWER:
case SC_JEXPBOOST:
case SC_AUTOTRADE:
case SC_WHISTLE:
case SC_ASSNCROS:
case SC_POEMBRAGI:
case SC_APPLEIDUN:
case SC_HUMMING:
case SC_DONTFORGETME:
case SC_FORTUNE:
case SC_SERVICE4U:
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_SAVAGE_STEAK:
case SC_COCKTAIL_WARG_BLOOD:
case SC_MINOR_BBQ:
case SC_SIROMA_ICE_TEA:
case SC_DROCERA_HERB_STEAMED:
case SC_PUTTI_TAILS_NOODLES:
case SC_DEF_RATE:
case SC_MDEF_RATE:
case SC_INCHEALRATE:
case SC_INCFLEE2:
case SC_INCHIT:
case SC_ATKPOTION:
case SC_MATKPOTION:
case SC_S_LIFEPOTION:
case SC_L_LIFEPOTION:
case SC_PUSH_CART:
case SC_LIGHT_OF_REGENE:
case SC_STYLE_CHANGE:
case SC_MOONSTAR:
case SC_SUPER_STAR:
case SC_HEAT_BARREL_AFTER:
case SC_STRANGELIGHTS:
case SC_DECORATION_OF_MUSIC:
case SC_QUEST_BUFF1:
case SC_QUEST_BUFF2:
case SC_QUEST_BUFF3:
case SC_2011RWC_SCROLL:
case SC_JP_EVENT04:
case SC_ATTHASTE_CASH:
case SC_REUSE_REFRESH:
case SC_REUSE_LIMIT_A:
case SC_REUSE_LIMIT_B:
case SC_REUSE_LIMIT_C:
case SC_REUSE_LIMIT_D:
case SC_REUSE_LIMIT_E:
case SC_REUSE_LIMIT_F:
case SC_REUSE_LIMIT_G:
case SC_REUSE_LIMIT_H:
case SC_REUSE_LIMIT_MTF:
case SC_REUSE_LIMIT_ECL:
case SC_REUSE_LIMIT_RECALL:
case SC_REUSE_LIMIT_ASPD_POTION:
case SC_REUSE_MILLENNIUMSHIELD:
case SC_REUSE_CRUSHSTRIKE:
case SC_REUSE_STORMBLAST:
case SC_ALL_RIDING_REUSE_LIMIT:
case SC_SPRITEMABLE:
continue;
}

 
Will it work? I kind of try to comprehend this on my head, but I dont think it will work when you take off a weapon or change the left hand weapon for a shield, since this is, i assume, it leaves the status after you die.. Please I really Need help with this.. I'm willing to pay if neccessary.. Thanks in advance!.
Edited by Emistry
Please use CODEBOX.
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   1
  • Joined:  03/15/22
  • Last Seen:  

Hi.

Can you solve that?

I have the same problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...