Jump to content
  • 0

Clashing Spiral Renewal


Question

Posted

Help me in Clashing Spiral. I want renewal spiral pierce in my server and I'm using 3ceam r650 trunks! someone can give me code for renewal spiral pierce? thanks. Sorry for my bad english.

12 answers to this question

Recommended Posts

Posted (edited)

What you want modify? This is the brAthena formula, is equal to kRO renewal.

Search for LK_SPIRALPIERCE formula and change in battle.c

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/20 * skill_lv + sstatus->batk + sstatus->watk;
} else
wd.damage = sstatus->rhw.atk2*8/10;
skillratio += 50 * skill_lv;
if( sc && sc->data[sC_GLOOMYDAY_SK] && skill_num == LK_SPIRALPIERCE )
ATK_ADDRATE(100+25*(sc->data[sC_GLOOMYDAY_SK]->val1-1));
			break;

You just need change it for what you want.

Edited by Protimus
Posted (edited)

error at me

srcmapbattle.c(1852) : error C2039: 'watk' : is not a member of 'status_data'

srcmapstatus.h(1414) : see declaration of 'status_data'

Edited by Lionheart
Posted

Go to your Status.h

find this: struct status_data

replace yours with this

unsigned short

str, agi, vit, int_, dex, luk,

batk,watk,

matk_min, matk_max,

speed,

amotion, adelay, dmotion,

mode;

i highlighted what you are missing

note not yet tested just a successful recompile

Posted (edited)

dont forget this

~

For weapons, the types are:

0: bare fist

1: Daggers

2: One-handed swords

3: Two-handed swords

4: One-handed spears

5: Two-handed spears

6: One-handed axes

7: Two-handed axes

8: Maces

9: Unused

10: Staves

11: Bows

12: Knuckles

13: Musical Instruments

14: Whips

15: Books

16: Katars

17: Revolvers

18: Rifles

19: Gatling guns

20: Shotguns

21: Grenade launchers

22: Fuuma Shurikens

Edited by KeiKun
Posted

You should make a backup before doing any source editing.. I think this is different and they use brAthena.. i dont think it will work with branch of 3CeAM...

I hope there will be 3CrAM Project soon... xD

* 3rd Class rAthena Modification

Posted

Well, I have Spiral Pierce working with the above script.. but for some reason it doesn't factor in elemental endows? Is Spiral Pierce force neutral now?

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...