All pastes #979640 Raw Edit

Stuff

public text v1 · immutable
·published 2008-04-10 14:25 UTC
rendered paste body
	case 35696:
		{
			if ( m_target->IsPet() )
			{
				Unit* PetOwner;
				if ( static_cast< Pet* >( m_target )->GetPetOwner() )
				{
					PetOwner = static_cast< Pet* >( m_target )->GetPetOwner();
					uint32 val1 = m_target->GetUInt32Value( UNIT_FIELD_STAT2 ); // stamina
					uint32 val2 = m_target->GetUInt32Value( UNIT_FIELD_STAT3 ); // intelect
					uint32 val0 = val1+val2;
					uint32 dmginc = (val0*mod->m_amount)/100;
					//PetOwner->DamageDoneMod
					printf("DK 5, inc: %u\n",dmginc);
					if ( apply )
					{
						for (uint32 x=1;x<7;x++)

					}
					else
					{
						for (uint32 x=1;x<7;x++)

					}
				}
			}
		}break;