Jump to content
  • 0
KoKe

New SC_Status problem

Question

For example i cand add resistance of race and element

sd->subele[ELE_WATER] += sc->data[sC_NEW_STATUS]->val1;
sd->subrace[RC_DEMON] += sc->data[sC_NEW_STATUS]->val1;

but what if i need resistance for long range ( Like noxius ) and stun?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Oh yeah i see this last night and wondering what are for

@ind: thank you for the reply

memset (sd->param_bonus, 0, sizeof(sd->param_bonus)
	+ sizeof(sd->param_equip)
	+ sizeof(sd->subele)
	+ sizeof(sd->subrace)
	+ sizeof(sd->subrace2)
	+ sizeof(sd->subsize)
	+ sizeof(sd->reseff)
	+ sizeof(sd->weapon_coma_ele)
	+ sizeof(sd->weapon_coma_race)
	+ sizeof(sd->weapon_atk)
	+ sizeof(sd->weapon_atk_rate)
	+ sizeof(sd->arrow_addele)
	+ sizeof(sd->arrow_addrace)
	+ sizeof(sd->arrow_addsize)
	+ sizeof(sd->magic_addele)
	+ sizeof(sd->magic_addrace)
	+ sizeof(sd->magic_addsize)
	+ sizeof(sd->critaddrace)
	+ sizeof(sd->expaddrace)
	+ sizeof(sd->ignore_mdef)
	+ sizeof(sd->ignore_def)
	+ sizeof(sd->itemgrouphealrate)
	+ sizeof(sd->sp_gain_race)

@FatalError: So like i see reseff is for status

EDIT: Also did i need to add this too to make it work? and what exactly do that?

StatusChangeFlagTable[sC_MYCUSTOMSC] |= SCB_ALL;

EDIT2:

Also is posible to end SC_Status when they not in x mapflag?

Edited by KoKe
Link to comment
Share on other sites

So i make this but the player with the active status still be frozen

if (sc->data[sC_NOFREEZE] )
	{
		sd->reseff[sC_FREEZE] += sc->data[sC_WOE_ALLRES]->val1;
	 }

Edited by KoKe
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...

Important Information

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