Register for your free account! | Forgot your password?

You last visited: Today at 11:14

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

Advertisement



Range Skills

Discussion on Range Skills within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Range Skills

Hi elitepvpers,

I noticed that all my skills could do range attack.
Even Asal can do it.

I have checked PropSkill.txt and its AR_SHORT however i dont even have to be close to the mob to peform the skills.

Here is an image showing the distance



Now i wonder how can i fix this.

With kind regards.
raventh1984 is offline  
Old 11/03/2013, 19:43   #2
 
Rhyder`'s Avatar
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
try this one:

Code:
switch( pSkillProp->dwID )
	{
	case SI_BIL_PST_ASALRAALAIKUM:
		if(pSkillProp->dwAttackRange != AR_SHORT)
		{
			return FALSE;
		}
		break;
         }
Rhyder` is offline  
Old 11/03/2013, 20:14   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Already have it and its with all skills no matter wat class it is.
raventh1984 is offline  
Old 11/04/2013, 08:13   #4
 
Rhyder`'s Avatar
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
Quote:
Originally Posted by raventh1984 View Post
Already have it and its with all skills no matter wat class it is.
here it is:
credits to pumaaa
Code:
	if( pSrc->GetType() == OT_MOVER )
	{
		D3DXVECTOR3 v3Len = GetPos() - pSrc->GetPos();
		FLOAT fTotalLen = D3DXVec3LengthSq( &v3Len );

		if( fTotalLen > ((CMover*)pSrc)->GetAttackRange( pSkillProp->dwAttackRange ) )
			return;
	}
Rhyder` is offline  
Thanks
1 User
Old 11/05/2013, 23:03   #5
 
elite*gold: 0
Join Date: Feb 2013
Posts: 167
Received Thanks: 140
Go in MoverMsg.cpp

and search for AR_SHORT

there you will find the value which is used to calculate the range.

Make sure it looks like this:

Code:
case AR_SHORT:	fAttRange = 2.0f;
Swäg is offline  
Old 11/06/2013, 08:43   #6
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Thanks Swag however it is the same value as that one. I altered it to lets say 0.8 and now its working as it should be. The strange thing is that i only added an new class. and i never touched movermsg.cpp.

But thanks again.

#closerequest.
raventh1984 is offline  
Closed Thread


Similar Threads Similar Threads
Range Skills und Mehr
06/14/2013 - Flyff Hacks, Bots, Cheats, Exploits & Macros - 3 Replies
dFlyff Range Asal und Farbig schreiben. Final-Core Range Asal Euer Server ist nicht dabei? hier Klicken
How to change the attack range of skills
10/05/2010 - Dekaron - 2 Replies
How to change the attack range of skills ..........................
Removing range of skills
12/24/2009 - Mabinogi - 2 Replies
I only know how to remove Fireball's skill range by editing the skill.xml (changing the range to 99999), but it would not work with other skills such as Ice Spear and Thunder (the wand doesn't say it's out of range, but when I click it does not actually hit the enemy when I'm out of range) So I thought maybe DLL-editing can remove the range of skills as well. But after searching through my skill.dll I can't seem to find something to do with the range of Ice Spear. If I take another as an...
Long Range Skills
10/20/2007 - Flyff - 29 Replies
(ich weiß nicht ob das auch für dflyff funktioniert habs da noch nie probiert:p) aber auf jeden fall für eflyff nehmen wir mal einen einfachen skill wie den Brandish(2. Vagrant skill) 1.)entpacken wir erstmal mit dem Flyff resource manager PropSkill.txt aus data.res 2.)sucht den skill Brandish der so aussehen müsste: SI_VAG_ONE_BRANDISH IDS_PROPSKILL_TXT_000002 1 1 JTYPE_BASE JOB_VAGRANT DIS_VAGRANT JOB_VAGRANT = = = = = = = HD_ONE = = = = = = = = = = = = = 0 0 _NONE 0 0 0 = =...



All times are GMT +2. The time now is 11:14.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.