Jump to content
  • 0

Spiral Pierce damage.


HristDead

Question


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  167
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

Hi.

I've already browsed the section about how to edit this, but it just does not seem to work at all.

In battle.c; First I've changed the values with 25%, then halved it, and now I've reduced it by 90+ percent, and yet no change in the game. I recompiled too.

How can I stop making Spiral Pierce hit over 50k? I'm using Renewal but my character does 10-12k per hit on myst cases, thus well over 50k for 5 hits. =/

I want it to make it max hit 2k per hit (10k for 5 hits) unless the user is using a contradicting elemental armor.

Any help please...?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

You want to lower it or LIMIT it to 2k max? I'd suggest lowering it and I think you have edit wrong section in battle.c maybe, make sure you are editing RE's Spiral Pierce not Pre's Spiral.

Here is block for Renewal:

#ifdef RENEWAL
   case LK_SPIRALPIERCE:
   case ML_SPIRALPIERCE:
   {// Formula: Floor[Floor(Weapon Weight/2)*skill level + ATK ]*(100%+50%*s.lvl) * 5 multi-hits
 short index = sd?sd->equip_index[EQI_HAND_R]:0;
 int weight = 0;
 if (sd && index >= 0 &&
  sd->inventory_data[index] &&
  sd->inventory_data[index]->type == IT_WEAPON)
   weight = sd->inventory_data[index]->weight/20;	
 ATK_ADD(weight * skill_lv)
 skillratio += 50*skill_lv;
   }
   break;

Here is block for Pre:

#ifndef RENEWAL
case LK_SPIRALPIERCE:
case ML_SPIRALPIERCE:
if (sd) {
short index = sd->equip_index[EQI_HAND_R];

if (index >= 0 &&
sd->inventory_data[index] &&
sd->inventory_data[index]->type == IT_WEAPON)
wd.damage = sd->inventory_data[index]->weight*8/100; //80% of weight
} else
wd.damage = sstatus->rhw.atk2*8/10; //Else use Atk2

ATK_ADDRATE(50*skill_lv); //Skill modifier applies to weight only.
i = sstatus->str/10;
i*=i;
ATK_ADD(i); //Add str bonus.
switch (tstatus->size) { //Size-fix. Is this modified by weapon perfection?
case SZ_SMALL: //Small: 125%
ATK_RATE(125);
break;
//case SZ_MEDIUM: //Medium: 100%
case SZ_BIG: //Large: 75%
ATK_RATE(75);
break;
}
break;

Edited by darristan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  167
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

I don't want to block it, just lower the damage.

But thanks, I'll try it anyway to see how it works with RE disabled, I'm hoping it won't be horrid. :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

Uhhh... a block means the entire code box. Not the obstruction 'block'....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

under battle_calc_damage function in battle.c

before the ending line return damage;

add if ( battle_getcurrentskill(src) == LK_SPIRALPIERCE && damage > 50000 ) damage = 50000;

didn't test though

Edited by AnnieRuru
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...