View Single Post
  #1  
Old 09-13-2008, 05:46 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default Technique of Master Wu AA

It looks like support for this was added in a few weeks ago, however, it looks like there's a slight issue: if the check is successful, it adds another regular attack instead of the special attack used. Here's the current code:
Code:
   80 		if(max_damage > 0 && GetClass() == MONK && skill != THROWING)
   81 		{
   82 			int specl = GetAA(aaTechniqueofMasterWu) * 20;
   83 			if(specl == 100 || specl >= MakeRandomInt(0,100))
   84 			{
   85 				Attack(who);
   86 				if(20 > MakeRandomInt(0,100))
   87 					Attack(who);
   88 			}
   89 		}
If it's changed to this:
Code:
	if(max_damage > 0 && GetClass() == MONK && skill != THROWING)
	{
		int specl = GetAA(aaTechniqueofMasterWu) * 20;
		if(specl == 100 || specl >= MakeRandomInt(0,100))
		{
			who->Damage(this, max_damage, SPELL_UNKNOWN, skill, false);
			if(20 > MakeRandomInt(0,100))
				who->Damage(this, max_damage, SPELL_UNKNOWN, skill, false);
		}
	}
that should trigger the additional 1-2 special attacks (flying kick, etc).
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote