Jump to content
  • 0

###### SC_ANTIFROST


Vanquiser

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  81
  • Reputation:   1
  • Joined:  02/22/12
  • Last Seen:  

can anyone create this status effect.. uhmm.. item_bonus

sc_start sc_antifrost,1800000,10;

when you insert the script to POTION item

there a status icon in right side .. and you cant frost until the duration ends



TIA rathena <3

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  81
  • Reputation:   1
  • Joined:  02/22/12
  • Last Seen:  

Posted · Hidden by Emistry, October 16, 2014 - Merged + Hidden duplicated contents.
Hidden by Emistry, October 16, 2014 - Merged + Hidden duplicated contents.

anyone can create this mod ??

sc_start sc_antifrost,18000,10;


when you inserted in items .. like POTION

theres a icon in right of your screen..

and you cannot be frosted by StormGust FROST driver Frost joker until the duration of status ends

TIA RATHENA

​SORRY FOR MY ENGLISH


remove this topic.. duplicated sorry

Link to comment

  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

you can use bonus2 bResEff,Eff_Freeze lol

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   4
  • Joined:  04/16/12
  • Last Seen:  

you can add SC_WARMER and modif it, in status.c if you want..

for exp:

	case SC_DEEPSLEEP:
	case SC_SLEEP:
	case SC_STUN:
	case SC_FREEZING:
	case SC_CRYSTALIZE:
		if (sc->opt1)
			return 0; // Cannot override other opt1 status changes. [Skotlex]
		if((type == SC_FREEZE || type == SC_FREEZING || type == SC_CRYSTALIZE) && sc->data[SC_WARMER])
			return 0; // Immune to Frozen and Freezing status if under Warmer status. [Jobbie]
	break;

///////////////////////////////
	case SC_WARMER:
		status_change_end(bl, SC_CRYSTALIZE, INVALID_TIMER);
		status_change_end(bl, SC_FREEZING, INVALID_TIMER);
		status_change_end(bl, SC_FREEZE, INVALID_TIMER);
		break;
add this:

StatusIconChangeTable[SC_ANTIFROST] = SI_ANTIFROST; //in line statusiconchangetable

	case SC_DEEPSLEEP:
	case SC_SLEEP:
	case SC_STUN:
	case SC_FREEZING:
	case SC_CRYSTALIZE:
		if (sc->opt1)
			return 0; // Cannot override other opt1 status changes. [Skotlex]
		if((type == SC_FREEZE || type == SC_FREEZING || type == SC_CRYSTALIZE) && sc->data[SC_WARMER])
			return 0; // Immune to Frozen and Freezing status if under Warmer status. [Jobbie]
		if((type == SC_FREEZE) && sc->data[SC_ANTIFROST])
			return 0; // Immune to Frozen only. [T3quila]
	break;

///////////////////////////////
	case SC_WARMER:
		status_change_end(bl, SC_CRYSTALIZE, INVALID_TIMER);
		status_change_end(bl, SC_FREEZING, INVALID_TIMER);
		status_change_end(bl, SC_FREEZE, INVALID_TIMER);
		break;
	case SC_ANTIFROST:
		status_change_end(bl, SC_FREEZE, INVALID_TIMER);
		break;
dont forget to add SC_ANTIFROST and SI_ANTIFROST to status.h and const.txt, dont forget for recompile your server, and add your stateicon folder .lua/lub in your client.
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...