Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-23-2002, 02:22 PM
Malevolent
Hill Giant
 
Join Date: Mar 2002
Posts: 171
Default 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;
Reply With Quote
  #2  
Old 04-23-2002, 02:42 PM
Baron Sprite's Avatar
Baron Sprite
Dragon
 
Join Date: Jan 2002
Posts: 708
Default

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
Reply With Quote
  #3  
Old 04-23-2002, 07:44 PM
Merkur
Sarnak
 
Join Date: Mar 2002
Posts: 53
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:33 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3