Dastgir

plugin
Magic Critical Strike

18 posts in this topic

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

Is the correct critical damage being displayed now?

Haven't check that, just got minimal time to display major bugs.

Share this post


Link to post
Share on other sites

 

@@Dastgir

Is the correct critical damage being displayed now?

Haven't check that, just got minimal time to display major bugs.

Thank you my friend.. 

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

any way to fix when doing crit the animation of skill are gone? And can i exclude asura from magic critical strike?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now