Jump to content
  • 0

Storm Gust Damage


Rage Guy

Question


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

i want make storm gust damage

only 80%

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

trunk/src/map/battle.c

Find:

case WZ_STORMGUST:
						skillratio += 40*skill_lv;
						break;

Replace:

case WZ_STORMGUST:
						skillratio += 30*skill_lv;
						break;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

its less that 80%

its like 75%



i want it 80%

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  181
  • Reputation:   53
  • Joined:  04/07/13
  • Last Seen:  

Change the 30 to 32, as 32 is 80% of 40.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

40*10 = 400 = 100%

case WZ_STORMGUST:
                        skillratio += 40*skill_lv;
                        break;

Replace it with : ( 32 * 10 ) = 320 = 80%

case WZ_STORMGUST:
                        skillratio += 32*skill_lv;
                        break;

 

20% of 400 is 80. 

80*4 = 80% = 320

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