Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 05:48

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

Advertisement



Creating passive skills

Discussion on Creating passive skills within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Creating passive skills

Hi Elitepvpers,

I am looking for an way to make passive skills.

What i did do for testing is this

In DPSrvr.cpp inside this function

void CDPSrvr::OnDoEquip

I created this

if(pItemProp->dwID == 25003)
{
pUser->DoBuff( SI_ASS_CHEER_HEAPUP, 15, pUser);
}

So it checks if the User is wearing an 2 handed Axe if so then buff the char.
However if i wear the weapon it doesnt grant me an buff. The buffs comes when you remove the equipp.

Also its time limited and what i want is an real passive skill at work.

For example if you wear an 2 handed axe no matter what kind of axe
It will setup an buff that remains there untill you remove the weapon.

Can someone point me to the right direction for this.

With kind regards.
raventh1984 is offline  
Old 11/09/2013, 19:32   #2
 
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
First of all.

Don't use a number. All Items are defined with a name this works like this number but you find it better.
Velmore is offline  
Old 11/09/2013, 20:06   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Well if i dont use numbers i am getting the unindetified error. So i use numbers instead.
But this was an test to see if it was working. I need to have all the 2handed axes to work with so that is something else.
raventh1984 is offline  
Old 11/09/2013, 22:15   #4
 
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
if you don't include the .h file.

write in top of the file "#include "defineItem.h""
Velmore is offline  
Old 11/09/2013, 23:19   #5
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
yes i already know that xD. Thanks for the tip. However i dont want to go offtopic.
raventh1984 is offline  
Old 11/09/2013, 23:23   #6
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
The 'obvious' way would be to increase the duration of the buff to several days/weeks.

For better solutions you should check how the buff system works etc.
Mognakor is offline  
Reply


Similar Threads Similar Threads
Passive skills
12/19/2012 - Kal Online - 4 Replies
hello epvpers , i want to ask how can i change something in the passive skill like make it give me more percent of damge etc .. and how can i change the meds to any other items like change mds to crystal or geons (i know i cant use that fake geon or crystal) .... i've searched a lot for those hacks...hope u guys can help me sry for my bad english..:handsdown::handsdown:
Request 3 passive skills packet
07/31/2012 - CO2 Private Server - 6 Replies
i need packets of Adrenaline Rush WindStorm Black Spot can any one share them?
[Leak] Caitlyn's Skills und Passive
12/26/2010 - League of Legends - 18 Replies
Caitlyn The Sheriff of Piltover All-Points Bulletin(Passive): Whenever an allied champion is slain, Caitlyn gains vision of the killer for a limited time. Aimed Shot(Q): Caitlyn channels her shot, increasing damage and range over time. If the shot hits, Caitlyn can fire a second shot shortly after, but if it misses, Caitlyn is revealed to the enemy. Bulletproof(W):Caitlyn passively resists projectile damage, and can actively double the resistance for a short time. While on cooldown,...
Passive Skills
11/20/2010 - CO2 Private Server - 9 Replies
Can any1 make an edit that will make it to where passive skills don't show up or a way for me to erase them from my char. I was curious n learned them all n now i don't want, so i have a bunch of passive skills that r filling up my skill list.



All times are GMT +2. The time now is 05:48.


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.