Jump to content
  • 0

Removing Storm Gust 3rd hit freeze


Question

4 answers to this question

Recommended Posts

Posted

src/map/skill.c

 

 

search  case WZ_STORMGUST:

case WZ_STORMGUST:
	/**
	 * Storm Gust counter was dropped in renewal
	 **/
	#ifdef RENEWAL
		sc_start(src,bl,SC_FREEZE,65-(5*skill_lv),skill_lv,skill_get_time2(skill_id,skill_lv));
	#else
		//On third hit, there is a 150% to freeze the target
		if(tsc->sg_counter >= 3 &&
			sc_start(src,bl,SC_FREEZE,150,skill_lv,skill_get_time2(skill_id,skill_lv)))
			tsc->sg_counter = 0;

 change the SC_FREEZE,150 to 15  save and re-compile youre server.

 
Posted

If you just change 150 to 15 then it's just 15% to freeze per 3 hits.

Instead use the renewal code and put a 15 in there.

 

Im sorry, I do not understand. Does this mean that they removed the 150% freeze in renewal?

Should i just copy the renewal script and replace the pre-re script with it and just put 15 instead of 65?

Posted

Yes, in renewal every single hit has a freeze chance and a lower skill level has a higher freeze chance.

On pre-renewal every 3rd hit has a 150% freeze chance.

If you just want 15% freeze chance per hit remove everything from #ifdef to #endif and just put:

sc_start(src,bl,SC_FREEZE,15,skill_lv,skill_get_time2(skill_id,skill_lv));

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...