EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   A Kick implementation (https://www.eqemulator.org/forums/showthread.php?t=1424)

Malevolent 04-23-2002 02:22 PM

A Kick implementation
 
Better than nothing at all :-)

I have no idea what the actual kick formula is. I'm sure someone knows it. I don't. I just made up something that looked good. :P

This is the formula it uses:

client_process.cpp...
Code:

                                case WARRIOR:
                                                                case RANGER:
                                                                case PALADIN:
                                                                case SHADOWKNIGHT:
                                                                        if (target!=this) {
                                                                                if (target->IsNPC()){
                                                                                        sint32 dmg=(sint32) ((level/10)  * 3  * (GetSkill(KICK) + GetSTR() + level) / (700-GetSkill(KICK)));
                                                                                                cout << "Dmg:"<<dmg;
                                                                                        target->CastToNPC()->Damage(this, dmg, 0xffff, 0x1e);
                                                                                        DoAnim(1);
                                                                                }
                                                                        }                       
                                                                        break;


Baron Sprite 04-23-2002 02:42 PM

cool, you should add something for warriors to kick/stun after 55, shouldn't be too hard, if I had a syn checker at work would do it myself, but I'm a lazy mofo and you're so cool ;)

Merkur 04-23-2002 07:44 PM

cool, if it works im sure we will merge this (for NPCs too :) )


All times are GMT -4. The time now is 04:21 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.