Jump to content
  • 0

Custom Status Not Being Read?


Question

Posted

I created a custom status but its not being recognized. I am not sure what I am doing wrong.
The general idea is that I want to create a custom status that is permanent Like OW50, OW90, Pushcart, Riding, etc. Simple.

Spoiler

Defined in status.h

Defined SC in status.h
 

Spoiler

Added to status.c SC_START

Added to permanent effects in sc_start.
And recompiled.
Created an NPC to check if status is active.
Tried to display ID but says 0. It comes after SC_ARMOR_ELEMENT_WIND so I assumed its 672. Seems like its not. And yeah, I did tried to index it manually and set it to 1001 earlier in status.h. Still doesn't work.
 

Spoiler

script.PNG.6672601c4f993f73e34da1b3550019dd.PNGingame.PNG.4a0d7f93a729340518fc682210c08108.PNG

I am using a consumable item as trigger and script is pretty basic, 

21005,StatusScroll,Scroll of Status Update,2,100,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start 672,1,0; },{},{}

Pretty much did what I can. What could I be doing wrong?

3 answers to this question

Recommended Posts

  • 1
Posted (edited)
Here my Custom status Icon on Land PRO



		
src/map/script_constants.h

	export_constant(SC_VOLCANO);
	export_constant(SC_DELUGE);
	export_constant(SC_VIOLENTGALE);
+	export_constant(SC_LANDPROTECTOR);


	export_constant(SI_VOLCANO);
	export_constant(SI_DELUGE);
	export_constant(SI_VIOLENTGALE);
+	export_constant(SI_LANDPROTECTOR);

 

Edited by Bringer
  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...