|
You last visited: Today at 00:43
Advertisement
Creating item depending of job
Discussion on Creating item depending of job within the Flyff forum part of the MMORPGs category.
04/29/2020, 13:09
|
#1
|
elite*gold: 0
Join Date: Jun 2010
Posts: 6
Received Thanks: 0
|
Creating item depending of job
Hello everyone, I was just wondering if there is a way to create an item depending of the job they choose using the Quick Job Change system?
I want each job to get a weapon whenever they click on the new job change.
Thanks.
|
|
|
04/29/2020, 13:18
|
#2
|
elite*gold: 0
Join Date: Aug 2010
Posts: 98
Received Thanks: 75
|
Set the job in base value and set his default inventory
|
|
|
04/29/2020, 13:29
|
#3
|
elite*gold: 0
Join Date: Jun 2010
Posts: 6
Received Thanks: 0
|
Quote:
Originally Posted by sebariio
Set the job in base value and set his default inventory
|
Where exactly I can do that?
|
|
|
04/29/2020, 20:18
|
#4
|
elite*gold: 0
Join Date: Mar 2018
Posts: 155
Received Thanks: 54
|
Rework your SetLevelUpGift on event.lua
like this
Code:
SetLevelUpGift( 60, "all", "II_SYS_SYS_SCR_BX_PET_LAWOLF7", 1, 2, LEGEND_CLASS_NORMAL, JOB_KNIGHT )
|
|
|
04/30/2020, 02:22
|
#5
|
elite*gold: 0
Join Date: Jun 2010
Posts: 6
Received Thanks: 0
|
Quote:
Originally Posted by Tweeney
Rework your SetLevelUpGift on event.lua
like this
Code:
SetLevelUpGift( 60, "all", "II_SYS_SYS_SCR_BX_PET_LAWOLF7", 1, 2, LEGEND_CLASS_NORMAL, JOB_KNIGHT )
|
I am going to try this, I didn't know you can set jobs inside the Event.lua. Thank you!
|
|
|
04/30/2020, 09:18
|
#6
|
elite*gold: 0
Join Date: Mar 2018
Posts: 155
Received Thanks: 54
|
you must need to rework your eventlua.cpp/h first. like puting the njobs on the function of SetLevelUpGift.
SetLevelUpGift( nLevel, strAccount, strItemId, nItemNum, byFlag, nJob ) //example
|
|
|
04/30/2020, 12:09
|
#7
|
elite*gold: 0
Join Date: Aug 2010
Posts: 67
Received Thanks: 42
|
Or go to Mover.cpp CMover::InitFastJobChange and do it like this:
Code:
if( nJob == JOB_MENTALIST_HERO || nJob == JOB_FORCEMASTER_HERO )
{
CItemElem itemelem;
itemelem.m_nItemNum = 1;
itemelem.m_bCharged = TRUE;
BYTE nID;
if( nJob == JOB_MENTALIST_HERO )
itemelem.m_dwItemId = II_WEA_BOOK_BOKROMAIN;
if( nJob == JOB_FORCEMASTER_HERO )
itemelem.m_dwItemId = II_ARM_ARM_SHI_ZEMBATO;
( ( CUser*)this)->CreateItem( &itemelem, &nID );
}
|
|
|
05/01/2020, 02:01
|
#8
|
elite*gold: 0
Join Date: Jun 2010
Posts: 6
Received Thanks: 0
|
THANK YOU! It is really working.
Another question: What if I want to do it depending of the character ***? Some items for male and some others for female?
|
|
|
05/03/2020, 17:12
|
#9
|
elite*gold: 0
Join Date: Apr 2018
Posts: 139
Received Thanks: 18
|
Quote:
Originally Posted by pipirucho
THANK YOU! It is really working.
Another question: What if I want to do it depending of the character ***? Some items for male and some others for female?
|
Maybe change the nJob to nSex.
|
|
|
|
Similar Threads
|
WTB geared 55. Paying a lot depending on gear. can pay over 1k
01/22/2016 - Aion Trading - 3 Replies
sin+++++++++++++++++++(instant buy if it has guardian 55 eternal pvp set or wep)
ranger++++++++++++++
glad++++++++
sorc+++++
sm++++
serious offers plz. can pay a lot! pst me before 3.0 comes out.
txt me via 787-232-2076
|
WTS EVE Online ISK and PLEX depending on my STOCK Availability
07/13/2013 - Eve Online Trading - 15 Replies
1 billion | 17$ or 1 plex | 8.5$
2 billion | 34$ or 2 plex | 17$
3 billion | 51$ or 3 plex | 24$
4 billion | 68$ or 4 plex | 34$
5 billion | 82$ or 5 plex | 42$
8 PLEX ON STOCK or 4 B
The money transfer will be made to my verified paypal account (both accounts need to be verified).
|
WTS EVE Online ISK and PLEX depending on my STOCK Availability
04/04/2012 - Trading - 0 Replies
1 billion | 17$ or 1 plex | 8.5$
2 billion | 34$ or 6 plex | 50$
3 billion | 51$ or 10 + 1 plex | 85$
4 billion | 68$ or 15 + 1 plex | 125$
5 billion | 82$ or 20 + 2 plex | 165$
The money transfer will be made to my verified paypal account (both accounts need to be verified).
|
Find What Steed You Get (Depending on RBG Values)
11/08/2010 - CO2 Exploits, Hacks & Tools - 11 Replies
alright... so, we all have the formula now to determine what we will get when we compose 2 different horses together, and I have already released a program to determine what the RBG values of your current horse is... the only thing LEFT to do . . . is to find what are the color ranges for each horse... i've come up with a way for you to put in watever RBG value you want, and it'll tell you want kind of horse it is going to be
the problem is... there are 16,581,375 different RBG...
|
Composing fail :/ Compose rates depending on eud *??!
12/06/2009 - EO PServer Hosting - 2 Replies
Hi ppl,
i have my own EO server and i got big problem.
When i want to compose my eudemon, if its * is low it gets really low compose rates. If eudemon * is high it gets crazy compose rates. I tried many things and followed newbie guides but probably i did sth wrong and messed it. Do you know how to set composing rates to these similar on official server? What schould I do? Do u have any ideas? Please help
|
All times are GMT +2. The time now is 00:43.
|
|