Jump to content

Recommended Posts

thumb-bc40506c94266ca00b0ffc27bbcbe202-screenhercules014.jpg

File Name: Magic Critical Strike

File Submitter: Dastgir

File Submitted: 12 Jan 2015

File Category: Plugins

 

Its a plugin for Critical Strike on Skills

Critical Strike Calculation is as per normal calculations

 

You can have a battle_config on any of the files in conf/battle/ with

magic_critical_color: 1 or 2

1 = Red Critical Strike

2 = Blue Critical Strike

 

Method to Change Delay:

Either add the config in conf/battle/ as stated above or change "blue_red_critical" value in plugin

 

 

Building Plugin for Linux: http://herc.ws/wiki/Building_HPM_Plugin_for_gcc

Building Plugin for Windows: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC

 

P.S: You need HPMHooking Enabled.

 

Click here to download this file

Share this post


Link to post
Share on other sites
Critical-Magic.c:55: warning: implicit declaration of function 'getFromMOBDATA'
Critical-Magic.c:55: warning: assignment makes pointer from integer without a cast
Critical-Magic.c:57: warning: implicit declaration of function 'addToMOBDATA'
Critical-Magic.c: In function 'magic_critical_attack':
Critical-Magic.c:111: warning: assignment makes pointer from integer without a cast

Share this post


Link to post
Share on other sites

Critical-Magic.c:55: warning: implicit declaration of function 'getFromMOBDATA'

Critical-Magic.c:55: warning: assignment makes pointer from integer without a cast

Critical-Magic.c:57: warning: implicit declaration of function 'addToMOBDATA'

Critical-Magic.c: In function 'magic_critical_attack':

Critical-Magic.c:111: warning: assignment makes pointer from integer without a cast

Update your Hercules.

Those functions were added to Hercules 1-3 month ago.

Share this post


Link to post
Share on other sites

Hello Dastgir,


I just want to add a few suggestions, please consider the ff:  :) 

- You can Enable it to work only on Players or Monsters only.
- Disable the Hit Animation Per hit of the skill when doing Critical Strike.


Thank you!
 

Share this post


Link to post
Share on other sites

Hi Dastgir,

 

I've tried this a couple of times however it seems that it's showing a high crit damage on screen (around double the normal damage without crit) but it's not the exact damage being deducted on the player's HP. I think it needs to be accurate, or else I'm the only one who experienced this. I'm using the latest Hercules SVN.

 

Ex. 

- Normal damage does around 30k+

- Critical (on screen) shows around 60k+

- Actual HP deducted to player 45k+

Share this post


Link to post
Share on other sites

Hello Dastgir,

I just want to add a few suggestions, please consider the ff:  :) 

- You can Enable it to work only on Players or Monsters only.

- Disable the Hit Animation Per hit of the skill when doing Critical Strike.

Thank you!

 

Hi Dastgir,

 

I've tried this a couple of times however it seems that it's showing a high crit damage on screen (around double the normal damage without crit) but it's not the exact damage being deducted on the player's HP. I think it needs to be accurate, or else I'm the only one who experienced this. I'm using the latest Hercules SVN.

 

Ex. 

- Normal damage does around 30k+

- Critical (on screen) shows around 60k+

- Actual HP deducted to player 45k+

I will do refactoring of this plugin as soon as I get time.

Share this post


Link to post
Share on other sites

@@Dastgir


I found a new BUG.

Monsters that are killed by Critical Strike Via Magic don't drop any items anymore. 

Its like even if poring drops an apple 100% if its killed by critical strike it will never drop. 

Share this post


Link to post
Share on other sites

@@Dastgir

 

 

I found a new BUG.

 

Monsters that are killed by Critical Strike Via Magic don't drop any items anymore. 

 

Its like even if poring drops an apple 100% if its killed by critical strike it will never drop. 

 

ahahaha. before this duplicate item. now no drop item hahahaha !  :p_conf:

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.