Jump to content

Lightning Claw & Flame Spirit --> To not attack invisible players


Go to solution Solved by Syreldar,

Recommended Posts

  • 3 years later...
  • Premium
  • Solution
36 minutes ago, WeedHex said:

Are you sure in official side it's like that?

Why would you care how is in official, if that's what he wants regardless?

53 minutes ago, ReFresh said:

#ref

char_skill.cpp, search:

		// 2. Shoot!
		if (f.GetVictim())
		{
			ch->CreateFly(FLY_SKILL_MUYEONG, f.GetVictim());
			ch->ComputeSkill(SKILL_MUYEONG, f.GetVictim());
		}

Turn into:

		// 2. Shoot!
		LPCHARACTER victim = f.GetVictim();
		if (victim && !victim->IsAffectFlag(AFF_EUNHYUNG) && !victim->IsAffectFlag(AFF_INVISIBILITY) && !victim->IsAffectFlag(AFF_REVIVE_INVISIBLE)))
		{
			ch->CreateFly(FLY_SKILL_MUYEONG, victim);
			ch->ComputeSkill(SKILL_MUYEONG, victim);
		}

 

  • Good 1
  • Love 1

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.