Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > World of Warcraft
You last visited: Today at 07:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Script] Camouflage

Discussion on [Script] Camouflage within the World of Warcraft forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 15
Received Thanks: 0
Exclamation [Script] Camouflage

Guten Tag,

Beim Jäger gibt es den Spell Camouflage.
Den hab ich halbwegs gefixt.

Aber Problem besteht noch dass wenn die nutzzeit abgelaufen ist, man dann noch immer unsichtbar ist. Die sollte sich nach ende des Spells aufheben..

Ich hab schon alles versucht aber hab es nicht hinbekommen....

Wäre nett wenn mir jemand helfen könnte.

Jetztiger Script

P.S Pet sollte auch unsichtbar werden, doch leider klappt das nicht!

Code:
void AuraEffect::HandleModCamouflage (AuraApplication const *aurApp, uint8 mode, bool apply) const
{

    if (!(mode & AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK))
        return;

    Unit *target = aurApp->GetTarget();
	Pet* pet = target->CreateTamedPetFrom(HUNTER_PET, 0);

	AuraRemoveMode removeMode = aurApp->GetRemoveMode();

    if (apply)
    {
        target->CastSpell(target, 80326, true);
		pet->HasAura(80326);

    }

	if (!(mode && target->isCamouflaged()))
	{
		target->RemoveAura(80326);
	}

	else if (!(target->isCamouflaged()))
    // apply & remove

    switch (GetId())
     {
        target->RemoveAura(80326);
        target->RemoveAura(80325);
        // Hunter's Camouflage
        case 51755:
        {
            if (apply)
                target->CastSpell(target,80326,true);
            else
                if (Unit* owner = target->GetCharmerOrOwner())
                    owner->RemoveAura(51755);
                target->RemoveAura(80326);
                target->RemoveAura(80325);
            break;
        }
     }

	

	if (aurApp->GetRemoveMode() == AURA_REMOVE_BY_DEATH)
	{
		target->RemoveAura(80326);
	}
	
	if (!(target->isCamouflaged()))
    {
        target->RemoveAura(80326);
        target->RemoveAura(80325);
    }

	if (target->isAttackingPlayer())
	{
		target->RemoveAura(80326);
		target->RemoveAura(80325);
	}
		else
	{
		target->CastSpell(target, 80326, true);
		pet->HasAura(80326);
	}

	if (target->isInCombat())
	{
		target->RemoveAura(80326);
		target->RemoveAura(80325);
	}
	else
	{
		target->CastSpell(target, 80326, true);
		pet->HasAura(80326);
	}

	target->UpdateObjectVisibility();

}
nivek123 is offline  
Reply


Similar Threads Similar Threads
camouflage unlimited
04/14/2012 - DarkOrbit - 10 Replies
Hello, I found a little bug to have unlimited free camouflage. 1) Install an extra camouflage on your vaiseau. 2) Use the latest camouflage. 3) Change configuration. 4) Have fun. 5) Press "thank you" ^ ^ BUT IF YOU CHANGE THE MAP THE BUG DON'T WORK WARNING !! =)
Problem with iBot and camouflage.
03/30/2012 - DarkOrbit - 4 Replies
What happens is that I have an account on the server of Mexico 1 and the program until I was buying Uridium camouflage. This problem started since I bought the CPU which gives you 10 extra slots on the ship. I have not already equipped, but still the problem persists. The truth now I got mad and had 32,000 for U. and spent it all. There is an error in version 4.08 because this happens to me from the 4.07 and do not think it's a program error but something goes wrong and not know what to...
Camouflage fast
02/01/2012 - DarkOrbit - 4 Replies
Camouflage fast when you have no chip, no need to browse the auction house or shop. Firefox with Greasemonkey only. In this link. Full Darkorbit
Coole Camouflage Kleidung
01/26/2006 - Off Topic - 9 Replies
Schaut da mal rein...für LAN Partys oder Outdoorevents sind die Klamotten spitze... http://img35.imageshack.us/img35/4466/outdoorban3 ss.jpg Und der Service ist auch sehr freundlich...^^
MoD v Camouflage
06/21/2005 - World of Warcraft - 14 Replies
Master of Deception v Camouflage lohnt es sich beides auszubauen oder sind das verschwendete Punkte ?



All times are GMT +1. The time now is 07:38.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.