Jump to content

  •  

Crousti

Member Since 06 Mar 2016
Offline Last Active Jun 23 2019 09:02 PM
-----

Topics I've Started

Asura strike not taking into account SP

30 June 2016 - 06:05 PM

Hi guys, I have a problem with asura strike's damage. My problem is that when I increase my SP pool (equipping lady tanee, sleipnir etc) it doesn't increase asura's damage. 

 

I didn't change my skill.c / battle.c / skill_db / skill_require_db. 

 

Here is my skill.c extremity fist's formula : 

 

 

        case MO_EXTREMITYFIST:
            {
                short x, y, i = 2; // Move 2 cells for Issen(from target)
                struct block_list *mbl = bl;
                short dir = 0;


                skill->attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag);


                if( skill_id == MO_EXTREMITYFIST ) {
                    mbl = src;
                    i = 3; // for Asura(from caster)
                    status->set_sp(src, 0, 0);
                    status_change_end(src, SC_EXPLOSIONSPIRITS, INVALID_TIMER);
                    status_change_end(src, SC_BLADESTOP, INVALID_TIMER);
#ifdef RENEWAL
                    sc_start(src, src,SC_EXTREMITYFIST2,100,skill_lv,skill->get_time(skill_id,skill_lv));
#endif // RENEWAL
                } else {
                    status_change_end(src, SC_NJ_NEN, INVALID_TIMER);
                    status_change_end(src, SC_HIDING, INVALID_TIMER);
#ifdef RENEWAL
                    status->set_hp(src, max(status_get_max_hp(src)/100, 1), 0);
#else // not RENEWAL
                    status->set_hp(src, 1, 0);
#endif // RENEWAL
                }
                dir = map->calc_dir(src,bl->x,bl->y);
                if( dir > 0 && dir < 4) x = -i;
                else if( dir > 4 ) x = i;
                else x = 0;
                if( dir > 2 && dir < 6 ) y = -i;
                else if( dir == 7 || dir < 2 ) y = i;
                else y = 0;
                if ((mbl == src || (!map_flag_gvg2(src->m) && !map->list[src->m].flag.battleground))) { // only NJ_ISSEN don't have slide effect in GVG
                    if (!(unit->movepos(src, mbl->x+x, mbl->y+y, 1, 1))) {
                        // The cell is not reachable (wall, object, ...), move next to the target
                        if (x > 0) x = -1;
                        else if (x < 0) x = 1;
                        if (y > 0) y = -1;
                        else if (y < 0) y = 1;


                        unit->movepos(src, bl->x+x, bl->y+y, 1, 1);
                    }
                    clif->slide(src, src->x, src->y);
                    clif->fixpos(src);
                    clif->spiritball(src);
                }
            }
            break;
 

Here is battle.c : 

 

            case MO_EXTREMITYFIST: // [malufett]
            {
                short totaldef = status->get_total_def(target);
                GET_NORMAL_ATTACK((sc && sc->data[SC_MAXIMIZEPOWER] ? 1 : 0) | 8, skill_id);
                if ( wd.damage ) {
                    ATK_ADD(250 * (skill_lv + 1) + (10 * (status_get_sp(src) + 1) * wd.damage / 100) + (8 * wd.damage));
                    ATK_ADD(-totaldef);
                }
            }
                break;
 

skill_db :

 

271,-2,6,1,0,0x60,0,5,1,yes,0,0,0,weapon,0,    MO_EXTREMITYFIST,Asura Strike
 

And still my asura's damage doesn't increase or decrease If I increase my SP even by 20K. 

 

Does anyone have an idea why ? Thanks in advance

 

Here you can see I took a screen of my damage with or without lady tanee card. Left side is with lady tanee, right side is without lady tanee : 

 

1467311890-sans-titre1.png


[Paid] Looking for a mapper (simple map)

21 June 2016 - 05:56 PM

Hi 

 

I am looking for a mapper who'd be able to do the following : 

 

The map will be used for PvP purpose. I don't want too much obstacle, I am looking for a 90% flat map (so you can put some obstacle or stairs etc, but really not too much, the map needs to be clean and "empty"). 

Also I need some water so people will be able to use waterball for exemple. Not everywhere but I need some water ! 

 

The map size would be something like izlude's size (only the center of the map)

 

Thanks


Adoption system

13 May 2016 - 06:54 PM

Hi

 

I have some trouble with the adoption system. I followed every step of adoption :

 

Female and male married in a party, they're both 99/70 (so no level problem). 

They're both wearing their wedding ring.

The soon to be baby is in the same party, lvl 1/1 novice. 

They're only 3 in the party.

They have never adopted anyone else. 

 

But still, they can't right clic on the soon to be baby and adopt him. 

 

Does someone have an idea of what is wrong ? Is there any command to directly make people adopt ? 

I remember that people had to ask to an npc to adopt someone, i did a lot of search but everytime it doesn't mention any npc, just a party of 3 (married couple + the soon to be baby) and that's it, just a right clic on the novice and then chose "adopt". Is that right ? Because it's really not working here. 

 

Thanks in advance :)


How to add a tomb for mvp

09 May 2016 - 11:43 AM

Hi guys

 

How do I do if i want ktunallux or hardrock mammoth to have a tomb just like everyother mvp that already have one ? I tried to search but i sadly found nothing :/

 

Thanks in advance


Unstackable card effect

08 May 2016 - 11:49 AM

Hi everyone, i was wondering if it was possible to change the script of some card effect so that they can't stack with themselves. 

 

For exemple, if i want to boost Lord of the death card to 1% chance to coma, BUT if you equip multipl LoD card, the effect doesn't stack and you still have the 1% chance to coma, even if you've 4 LoD in your weapon. Is it possible ? If yes, can someone tell me how ?

 

Thanks in advance