Jump to content
  • 0

Injustice "NO STOP" Sonic Blow when attacking


WhatFT

Question


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

Is this the right line for editing it? I add "//" it doesn't work lol :)) I don't know how to remove this can anyone help me? 

 

I want the Injustice Card Auto Cast Sonic Blow will not stop even attacking (/nc)

 

			if (skill == AS_SONICBLOW)
				pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.
			else if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
				type = CAST_GROUND;

 

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

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

 

            if (skill == AS_SONICBLOW)
                pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.

            else if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
                type = CAST_GROUND;

 

 

it becomes:

 

 

           /* if (skill == AS_SONICBLOW)
                pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking. */

            else if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
                type = CAST_GROUND;

 

save then recompile :)

This will most likely produce errors. You use an else if without an if.

            if (skill == AS_SONICBLOW)
                pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.

            else if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
                type = CAST_GROUND;

 

to

            if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
                type = CAST_GROUND;

 

could work.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  12/11/17
  • Last Seen:  

how to compile and how to edit can you send a video guide please

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  07/30/18
  • Last Seen:  

On 8/21/2013 at 7:20 PM, DeadlySilence said:

This will most likely produce errors. You use an else if without an if.


            if (skill == AS_SONICBLOW)
                pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.

            else if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
                type = CAST_GROUND;

 

to


            if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
                type = CAST_GROUND;

 

could work.

scanner.h:208:17: warning: type of ‘libconfig_yy_scan_string’ does not match original declaration [-Wlto-type-mismatch]
scanner.c:1964:17: note: ‘libconfig_yy_scan_string’ was previously declared here
scanner.c:1964:17: note: code may be misoptimized unless -fno-strict-aliasing is used
scanner.h:202:6: warning: type of ‘libconfig_yy_delete_buffer’ does not match original declaration [-Wlto-type-mismatch]
scanner.c:1743:10: note: ‘libconfig_yy_delete_buffer’ was previously declared here
scanner.c:1743:10: note: code may be misoptimized unless -fno-strict-aliasing is used
make[1]: Leaving directory '/root/ra/src/map'
building conf/import, conf/msg_conf/import and db/import folder...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  06/29/13
  • Last Seen:  

yeah same need this help

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

 

            if (skill == AS_SONICBLOW)
                pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking.

            else if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
                type = CAST_GROUND;

 

 

it becomes:

           /* if (skill == AS_SONICBLOW)
                pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking. */

            else if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding.
                type = CAST_GROUND;

 

save then recompile :)

 

yeah that will more or less produce errors thanks for pointing it out :)

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