Jump to content
  • 0

Fixing Hell Plant Damage.


Question

6 answers to this question

Recommended Posts

Posted

so it means i will change the 10/(10?

not sure is this the correct part ...

src/map/battle.c

	case GN_HELLS_PLANT_ATK:
	md.damage = sstatus->int_ * 4 * skill_lv * (10 / (10 - pc_checkskill(sd,AM_CANNIBALIZE)));//Need accurate official formula. [Rytech]
	break;

edit the Calculation Value and then Recompile and try again

Posted

case GN_HELLS_PLANT_ATK:
 md.damage = ((sstatus->int_ * 100) + (status_get_lv(target) * 15) * skill_lv) + (5 / (10 - pc_checkskill(sd,AM_CANNIBALIZE)));
 break;
}

that shoud do it. if you have your stats to 120 max. it'll be doing like 34k damage if you want half that then change sstatus->int_ * 100 to sstatus->int_ * 50

Posted (edited)

hope no mob can use this skill on your server otherwise you may get a segmentation fault.

better to check sd before atempting to use it on pc_checkskill.

Here quick security fix and also the kro formula if you want

[/font]
md.damage = sstatus->int_ * 4 * skill_lv * (10 / (10 - (sd?pc_checkskill(sd,AM_CANNIBALIZE):5));
//[{( Hell Plant Skill Level x Caster?s Base Level ) x 10 } + {( Caster?s INT x 7 ) / 2 } x { 18 + ( Caster?s Job Level / 4 )] x ( 5 / ( 10 - Summon Flora Skill Level )
//md.damage = (sd?pc_checkskill(sd,GN_HELLS_PLANT):5) * s_level * 10 + sstatus->int_ * 7/2 * (18 + (sd?sd->status.job_level:s_level)/4)) * 5/(10-(sd?pc_checkskill(sd,AM_CANNIBALIZE):5)); //kro formula [lighta]
Edited by Lighta
Posted (edited)

@lighta

where did i put this?

md.damage = sstatus->int_ * 4 * skill_lv * (10 / (10 - (sd?pc_checkskill(sd,AM_CANNIBALIZE):5));

//[{( Hell Plant Skill Level x Caster?s Base Level ) x 10 } + {( Caster?s INT x 7 ) / 2 } x { 18 + ( Caster?s Job Level / 4 )] x ( 5 / ( 10 - Summon Flora Skill Level )

//md.damage = (sd?pc_checkskill(sd,GN_HELLS_PLANT):5) * s_level * 10 + sstatus->int_ * 7/2 * (18 + (sd?sd->status.job_level:s_level)/4)) * 5/(10-(sd?pc_checkskill(sd,AM_CANNIBALIZE):5)); //kro formula [lighta]

[/font]

Edited by Hatake Kakashi
Posted

well 1st line it's the same as your with just a little check on sd. (iro formula)

2nd is kro supposed formula (from gdocs)

3rd is kro implementation (rendering in code), so either wich formula you want you comment or uncomment 1st or 3rd one.

I can,t help more then that, if you need moreI think it's more a release then.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...