Project 1999

Go Back   Project 1999 > Blue Community > Blue Server Chat

Closed Thread
 
Thread Tools Display Modes
  #31  
Old 06-22-2011, 01:54 PM
Kika Maslyaka Kika Maslyaka is offline
Planar Protector

Kika Maslyaka's Avatar

Join Date: Apr 2011
Posts: 1,055
Default

Quote:
Originally Posted by Seaweedpimp [You must be logged in to view images. Log in or Register.]
LOL WRONG

It increase your chance to land a hit... What kind of garbage are you smoking?
LOL, you must be smoking something very intense I see. Hallucinate much?
  #32  
Old 06-22-2011, 03:01 PM
Extunarian Extunarian is offline
Planar Protector

Extunarian's Avatar

Join Date: May 2010
Location: MN
Posts: 1,186
Default

Kika, please direct me to the source methods that would indicate that the weapon skill is not used to see if we hit or miss...because the 'chancetohit' method that I'm seeing does take weapon skill into account.

Code:
		//check to see if we hit..
		if(!other->CheckHitChance(this, skillinuse, Hand)) {
			mlog(COMBAT__ATTACKS, "Attack missed. Damage set to 0.");
			damage = 0;
		}

You do seem to be correct in saying that hits can be mitigated to 0. It is hard to say for sure though because that part of the calculation goes into methods that I know have been reworked on this server. Either way, in the public code the damage bonus is applied only if the attack was not completely mitigated:

Code:
else {	//we hit, try to avoid it
			other->AvoidDamage(this, damage);
			other->MeleeMitigation(this, damage, min_hit);
			if(damage > 0) {
				ApplyMeleeDamageBonus(skillinuse, damage);
				TryCriticalHit(other, skillinuse, damage);
			}
			mlog(COMBAT__DAMAGE, "Final damage after all reductions: %d", damage);
__________________
Jorg Shaman
Closed Thread


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 10:03 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.