Jump to content
  • 0

Fixing Hell Plant Damage.


Hatake Kakashi

Question


  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

how to fix at battle.c hells plant? coz my hells plant damage is 2.6 only.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try check here ???

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

@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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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.

Link to comment
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
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.

×
×
  • Create New...