• Due to recent spam attacks that heavily used compormised accounts we did reset all user passwords, AGAIN, if it happens and your account got compromised again due to re-used passwords your account will be perma-banned.

Eleanor

Slicer

Member
Messages
174
Points
18
Emulator
Hello good people later ... I wonder if someone could help me with a problem, the homunculus Eleanor is not changing style, so it does not invoa spiritual spheres necessary for your skills ...


I've tried to make some changes but to no avail ... could someone please help me, I tried to do the following:

battle.c

if (sc->data[SC_STYLE_CHANGE] && rnd()%2) { TBL_HOM *hd = BL_CAST(BL_HOM,bl); if (hd) homun->addspiritball(hd, 10); //add a sphere } 

to:

if (sc->data[SC_STYLE_CHANGE] && sc->data[SC_STYLE_CHANGE]->val1 == MH_MD_FIGHTING || MH_MD_GRAPPLING) { TBL_HOM *hd = BL_CAST(BL_HOM,src); //when attacking if ( hd && rnd()%2 ) homun->addspiritball(hd, 10); // According to WarpPortal, this is a flat 50% chance } 


status.c

f ( opt&SCO_FIRST ) { hd->battle_status.hp = hom->hp; hd->battle_status.sp = hom->sp; } 


to:

f ( opt&SCO_FIRST ) { hd->battle_status.hp = hom->hp; hd->battle_status.sp = hom->sp; if(hom->class_ == 6052) // Eleanor sc_start(&hd->bl,&hd->bl, SC_STYLE_CHANGE, 100, MH_MD_FIGHTING, -1); } 


But unfortunately keeps appearing in map_server the error message Exchange style, and it does not invoke walks in map_server appears: unknown skill 8027.

I apologize for bad English.


I thank you.

 
Back
Top