how to get the vit of an enemy?

Svanhild

New member
Messages
115
Points
0
Location
Queenslander
Emulator
So i'm making this custom card, that when the enemy has more than 50 Vit, the user of the card will give a bonus of 25% atk, is there a way to do this?

 
Yeah I was really so frustrated how to make this thing work, coz I was gonna make a card that it would depend on the target enemy player's vit or hp or other stats. Thana is perfect, but I want something that is more refined, thana only depends on the players def, if its used with grimtooth and tao gunka, thana is almost useless so im trying to build this custom card that would base depending on the enemy's vit, unfortunately..

 
yeah i am thinking of that too, i was also thinking of making a new const, so i could just use the readparam maybe? i don't have much time today, but i'll definitely give it a try.

 
So i'm making this custom card, that when the enemy has more than 50 Vit, the user of the card will give a bonus of 25% atk, is there a way to do this?
Currently no i don't think so. We need setmobdata/getmobdata for checking vitality of specified mob.
I started working on a plugin to achieve this. Its a nice idea 
default_rolleyes.gif


 
oh wow
default_biggrin.png
I haven't really tried making plugins so I guess I'm pretty much limited with the src/db right now. Looking forward for your success
default_biggrin.png
 

 
And I also misunderstood the task, I made a plugin for a something a bit different.

Example: If enemy has 20 Str you do 20% more dmg.

So i'm making this custom card, that when the enemy has more than 50 Vit, the user of the card will give a bonus of 25% atk, is there a way to do this?
Finished my version too, took me a lot longer and its not exact the request but maybe still helpful
default_smile.png


+1 to Dastgir for typs and tricks.

https://github.com/Normynator/Ragnarok/blob/master/HPM-Plugins/bonustargetstats.c

 
LOL guys you just made me smile today. That was fast! Btw, I need some clarification for this, does the damage bonus increase per every vit increase from the base vit that is set or does it give a fixed damage bonus once it meets the condition of x vit? I haven't tried the plugin, imma give it a try tonight.

 
In my version: fixed percent of damage is increased once vit condition is satisfied

 
LOL guys you just made me smile today. That was fast! Btw, I need some clarification for this, does the damage bonus increase per every vit increase from the base vit that is set or does it give a fixed damage bonus once it meets the condition of x vit? I haven't tried the plugin, imma give it a try tonight.

In my version: fixed percent of damage is increased once vit condition is satisfied

Same. My version increases the overall dmg, dastgir's version increases atk (as requested).

 
LOL guys you just made me smile today. That was fast! Btw, I need some clarification for this, does the damage bonus increase per every vit increase from the base vit that is set or does it give a fixed damage bonus once it meets the condition of x vit? I haven't tried the plugin, imma give it a try tonight.

>In my version: fixed percent of damage is increased once vit condition is satisfied

Same. My version increases the overall dmg, dastgir's version increases atk (as requested).
You misunderstood 
default_sad.png
 
default_sad.png


My Version increase Percentage of Atk (i.e Overall Damage dealt to enemy)

 
LOL guys you just made me smile today. That was fast! Btw, I need some clarification for this, does the damage bonus increase per every vit increase from the base vit that is set or does it give a fixed damage bonus once it meets the condition of x vit? I haven't tried the plugin, imma give it a try tonight.
>>

>

>

>>In my version: fixed percent of damage is increased once vit condition is satisfiedlockquote>

>
Same. My version increases the overall dmg, dastgir's version increases atk (as requested).>>>
You misunderstood
default_sad.png
default_sad.png
My Version increase Percentage of Atk (i.e Overall Damage dealt to enemy)
Dastgir is right, i made a mistake, thanks to my english skills.I am sorry.

Hope you enjoy the plugins
default_smile.png


 
Last edited:
Back
Top