Jump to content
  • 0

Removing Storm Gust 3rd hit freeze


Nitrate

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  12/10/13
  • Last Seen:  

Can someone help me remove the 100% freeze of Storm Gust's 3rd hit and just change it to have a 15% chance of freezing per hit.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  

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.

 
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  812
  • Reputation:   234
  • Joined:  01/30/13
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  12/10/13
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  812
  • Reputation:   234
  • Joined:  01/30/13
  • Last Seen:  

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));

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