Jump to content
  • 0

error Critical Magic


Eyhra

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   7
  • Joined:  04/30/14
  • Last Seen:  

skill.c: In function 'skill_attack':
skill.c:3412: error: 'skillid' undeclared (first use in this function)
skill.c:3412: error: (Each undeclared identifier is reported only once
skill.c:3412: error: for each function it appears in.)
skill.c:3412: error: 'skilllv' undeclared (first use in this function)
skill.c:3417: error: 'struct mob_data' has no member named 'tmpd'
skill.c:3429: warning: passing argument 2 of 'status_change_start' makes pointer from integer without a cast
status.h:2165: note: expected 'struct block_list *' but argument is of type 'int'
skill.c:3429: error: too few arguments to function 'status_change_start'
skill.c:3430: warning: passing argument 2 of 'status_change_start' makes pointer from integer without a cast
status.h:2165: note: expected 'struct block_list *' but argument is of type 'int'
skill.c:3430: error: too few arguments to function 'status_change_start'
skill.c: In function 'skill_castend_nodamage_id':
skill.c:6829: warning: suggest explicit braces to avoid ambiguous 'else'
skill.c: In function 'skill_castfix':
skill.c:16327: warning: format '%d' expects type 'int', but argument 3 has type 'double'
skill.c: In function 'skill_mcri_hit':
skill.c:21206: error: 'struct mob_data' has no member named 'tmpd'
make[1]: *** [obj/skill.o] Error 1
 
PLZ HElP 
the line error is 
   int i=0,num=abs(skill_get_num(skillid,skilllv)),_damage=0;

 

Critical_hit_on_Magic_2.patch

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/29/16
  • Last Seen:  

try skill_id

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