Jump to content
quesoph

[ Plugin ] @debuff

Recommended Posts

 

1>------ Build started: Project: debuff, Configuration: Debug Win32 ------
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppBuild.targets(299,5): warning MSB8004: Output Directory does not end with a trailing slash.  This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.
1>  debuff.c
1>c:usersasusdesktopherculessrcpluginsdebuff.c(46): warning C4013: 'ACMD_A' undefined; assuming extern returning int
1>c:usersasusdesktopherculessrcpluginsdebuff.c(46): error C2065: 'debuff' : undeclared identifier
1>c:usersasusdesktopherculessrcpluginsdebuff.c(46): warning C4047: 'function' : 'bool (__cdecl *)(const int,map_session_data *,const char *,const char *,AtCommandInfo *)' differs in levels of indirection from 'int'
1>c:usersasusdesktopherculessrcpluginsdebuff.c(46): warning C4024: 'function through pointer' : different types for formal and actual parameter 2
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 

having some error when try to compile :(

Share this post


Link to post
Share on other sites

A nice suggestion for both plugin and script version is to make it either debuff on your map, or another map whose name you specify as a parameter to the command (this way you could also use a parameter in case of debuffing self map to decide whether to debuff oneself ;))

Share this post


Link to post
Share on other sites

Ok i made it to work with the update you gave but when i try the command it displays on dispbottom "All Players in your map has been debuffed" but my buff is still there so the command user is not included?

 

Thanks for share :D figured it makes sense no need to debuff the command user :D

Edited by iZeal

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.