"LoT2 Passive Stat Skills" - Views: 1,340 · Hits: 1,340 - Type: Public

;	Character Stat Boost Assignements
;	04FC	 int[60]	datStatSkill
;	----				+00: int id
;	----				+04: int lv
;	06DC	bool[20]	hasStatSkill
;	----				00_HP , 01_MP , 02_TP , 03_ATK, 04_DEF, 05_MAG
;	----				06_MND, 07_SPD, 08_EVA, 09_ACC, 0A_AFF, 0B_RES

00060D60	for(i = 0; i < 20; i++)
00060D9B		:hasStatSkill[i]    = 0
00060DAC		:datStatSkill[i].id = 0
00060DBF	if(	p08_charID == 0x01)
00060DC5		:hasStatSkill[05_MAG] = 1
00060DD2		:hasStatSkill[01_MP ] = 1
00060DDF		:hasStatSkill[00_HP ] = 1
00060DEC	else
00060DF1	if(	p08_charID == 0x02)
00060DF7		:hasStatSkill[07_SPD] = 1
00060E04		:hasStatSkill[05_MAG] = 1
00060E11		:hasStatSkill[01_MP ] = 1
00060E1E	else
00060E23	if(	p08_charID == 0x03)
00060E29		:hasStatSkill[06_MND] = 1
00060E36		:hasStatSkill[05_MAG] = 1
00060E43		:hasStatSkill[04_DEF] = 1
00060E50		:hasStatSkill[03_ATK] = 1
00060E5D		:hasStatSkill[02_TP ] = 1
00060E6A		:hasStatSkill[01_MP ] = 1
00060E77	else
00060E7C	if(	p08_charID == 0x04)
00060E82		:hasStatSkill[05_MAG] = 1
00060E8F		:hasStatSkill[02_TP ] = 1
00060E9C		:hasStatSkill[01_MP ] = 1
00060EA9	else
00060EAE	if(	p08_charID == 0x05)
00060EB4		:hasStatSkill[04_DEF] = 1
00060EC1		:hasStatSkill[03_ATK] = 1
00060ECE		:hasStatSkill[00_HP ] = 1
00060EDB	else
00060EE0	if(	p08_charID == 0x06)
00060EE6		:hasStatSkill[06_MND] = 1
00060EF3		:hasStatSkill[04_DEF] = 1
00060F00		:hasStatSkill[03_ATK] = 1
00060F0D	else
00060F12	if(	p08_charID == 0x07)
00060F18		:hasStatSkill[08_EVA] = 1
00060F25		:hasStatSkill[03_ATK] = 1
00060F32		:hasStatSkill[02_TP ] = 1
00060F3F	else
00060F44	if(	p08_charID == 0x08)
00060F4A		:hasStatSkill[0A_AFF] = 1
00060F57		:hasStatSkill[07_SPD] = 1
00060F64		:hasStatSkill[05_MAG] = 1
00060F71	else
00060F76	if(	p08_charID == 0x09)
00060F7C		:hasStatSkill[0A_AFF] = 1
00060F89		:hasStatSkill[07_SPD] = 1
00060F96		:hasStatSkill[02_TP ] = 1
00060FA3	else
00060FA8	if(	p08_charID == 0x0a)
00060FAE		:hasStatSkill[0B_RES] = 1
00060FBB		:hasStatSkill[07_SPD] = 1
00060FC8		:hasStatSkill[05_MAG] = 1
00060FD5	else
00060FDA	if(	p08_charID == 0x0b)
00060FE0		:hasStatSkill[06_MND] = 1
00060FED		:hasStatSkill[03_ATK] = 1
00060FFA		:hasStatSkill[00_HP ] = 1
00061007	else
0006100C	if(	p08_charID == 0x0c)
00061012		:hasStatSkill[08_EVA] = 1
0006101F		:hasStatSkill[07_SPD] = 1
0006102C		:hasStatSkill[03_ATK] = 1
00061039	else
0006103E	if(	p08_charID == 0x0d)
00061044		:hasStatSkill[0A_AFF] = 1
00061051		:hasStatSkill[06_MND] = 1
0006105E		:hasStatSkill[04_DEF] = 1
0006106B	else
00061070	if(	p08_charID == 0x0e)
00061076		:hasStatSkill[0B_RES] = 1
00061083		:hasStatSkill[06_MND] = 1
00061090		:hasStatSkill[01_MP ] = 1
0006109D	else
000610A2	if(	p08_charID == 0x0f)
000610A8		:hasStatSkill[08_EVA] = 1
000610B5		:hasStatSkill[06_MND] = 1
000610C2		:hasStatSkill[04_DEF] = 1
000610CF	else
000610D4	if(	p08_charID == 0x10)
000610DA		:hasStatSkill[06_MND] = 1
000610E7		:hasStatSkill[05_MAG] = 1
000610F4		:hasStatSkill[01_MP ] = 1
00061101	else
00061106	if(	p08_charID == 0x11)
0006110C		:hasStatSkill[03_ATK] = 1
00061119		:hasStatSkill[02_TP ] = 1
00061126		:hasStatSkill[00_HP ] = 1
00061133	else
00061138	if(	p08_charID == 0x12)
0006113E		:hasStatSkill[08_EVA] = 1
0006114B		:hasStatSkill[03_ATK] = 1
00061158		:hasStatSkill[00_HP ] = 1
00061165	else
0006116A	if(	p08_charID == 0x13)
00061170		:hasStatSkill[07_SPD] = 1
0006117D		:hasStatSkill[03_ATK] = 1
0006118A		:hasStatSkill[01_MP ] = 1
00061197	else
0006119C	if(	p08_charID == 0x14)
000611A2		:hasStatSkill[07_SPD] = 1
000611AF		:hasStatSkill[02_TP ] = 1
000611BC		:hasStatSkill[00_HP ] = 1
000611C9	else
000611CE	if(	p08_charID == 0x15)
000611D4		:hasStatSkill[08_EVA] = 1
000611E1		:hasStatSkill[07_SPD] = 1
000611EE		:hasStatSkill[06_MND] = 1
000611FB	else
00061200	if(	p08_charID == 0x16)
00061206		:hasStatSkill[06_MND] = 1
00061213		:hasStatSkill[04_DEF] = 1
00061220		:hasStatSkill[00_HP ] = 1
0006122D	else
00061232	if(	p08_charID == 0x17)
00061238		:hasStatSkill[07_SPD] = 1
00061245		:hasStatSkill[05_MAG] = 1
00061252		:hasStatSkill[03_ATK] = 1
0006125F	else
00061264	if(	p08_charID == 0x18)
0006126A		:hasStatSkill[05_MAG] = 1
00061277		:hasStatSkill[01_MP ] = 1
00061284		:hasStatSkill[00_HP ] = 1
00061291	else
00061296	if(	p08_charID == 0x19)
0006129C		:hasStatSkill[05_MAG] = 1
000612A9		:hasStatSkill[03_ATK] = 1
000612B6		:hasStatSkill[01_MP ] = 1
000612C3	else
000612C8	if(	p08_charID == 0x1a)
000612CE		:hasStatSkill[04_DEF] = 1
000612DB		:hasStatSkill[03_ATK] = 1
000612E8		:hasStatSkill[00_HP ] = 1
000612F5	else
000612FA	if(	p08_charID == 0x1b)
00061300		:hasStatSkill[06_MND] = 1
0006130D		:hasStatSkill[04_DEF] = 1
0006131A		:hasStatSkill[02_TP ] = 1
00061327	else
0006132C	if(	p08_charID == 0x1c)
00061332		:hasStatSkill[06_MND] = 1
0006133F		:hasStatSkill[05_MAG] = 1
0006134C		:hasStatSkill[00_HP ] = 1
00061359	else
0006135E	if(	p08_charID == 0x1d)
00061364		:hasStatSkill[0A_AFF] = 1
00061371		:hasStatSkill[05_MAG] = 1
0006137E		:hasStatSkill[01_MP ] = 1
0006138B	else
00061390	if(	p08_charID == 0x1e)
00061396		:hasStatSkill[0B_RES] = 1
000613A3		:hasStatSkill[05_MAG] = 1
000613B0		:hasStatSkill[00_HP ] = 1
000613BD	else
000613C2	if(	p08_charID == 0x1f)
000613C8		:hasStatSkill[07_SPD] = 1
000613D5		:hasStatSkill[05_MAG] = 1
000613E2		:hasStatSkill[01_MP ] = 1
000613EF	else
000613F4	if(	p08_charID == 0x20)
000613FA		:hasStatSkill[06_MND] = 1
00061407		:hasStatSkill[05_MAG] = 1
00061414		:hasStatSkill[04_DEF] = 1
00061421	else
00061426	if(	p08_charID == 0x21)
0006142C		:hasStatSkill[05_MAG] = 1
00061439		:hasStatSkill[04_DEF] = 1
00061446		:hasStatSkill[00_HP ] = 1
00061453	else
00061458	if(	p08_charID == 0x22)
0006145E		:hasStatSkill[0B_RES] = 1
0006146B		:hasStatSkill[06_MND] = 1
00061478		:hasStatSkill[03_ATK] = 1
00061485	else
0006148A	if(	p08_charID == 0x23)
00061490		:hasStatSkill[07_SPD] = 1
0006149D		:hasStatSkill[05_MAG] = 1
000614AA		:hasStatSkill[01_MP ] = 1
000614B7	else
000614BC	if(	p08_charID == 0x24)
000614C2		:hasStatSkill[07_SPD] = 1
000614CF		:hasStatSkill[03_ATK] = 1
000614DC		:hasStatSkill[00_HP ] = 1
000614E9	else
000614EE	if(	p08_charID == 0x25)
000614F4		:hasStatSkill[07_SPD] = 1
00061501		:hasStatSkill[03_ATK] = 1
0006150E		:hasStatSkill[01_MP ] = 1
0006151B	else
00061520	if(	p08_charID == 0x26)
00061526		:hasStatSkill[05_MAG] = 1
00061533		:hasStatSkill[04_DEF] = 1
00061540		:hasStatSkill[00_HP ] = 1
0006154D	else
00061552	if(	p08_charID == 0x27)
00061558		:hasStatSkill[05_MAG] = 1
00061565		:hasStatSkill[03_ATK] = 1
00061572		:hasStatSkill[01_MP ] = 1
0006157F	else
00061584	if(	p08_charID == 0x28)
0006158A		:hasStatSkill[0B_RES] = 1
00061597		:hasStatSkill[0A_AFF] = 1
000615A4		:hasStatSkill[02_TP ] = 1
000615B1	else
000615B6	if(	p08_charID == 0x29)
000615BC		:hasStatSkill[05_MAG] = 1
000615C9		:hasStatSkill[03_ATK] = 1
000615D6		:hasStatSkill[01_MP ] = 1
000615E3	else
000615E8	if(	p08_charID == 0x2a)
000615EE		:hasStatSkill[07_SPD] = 1
000615FB		:hasStatSkill[05_MAG] = 1
00061608		:hasStatSkill[01_MP ] = 1
00061615	else
0006161A	if(	p08_charID == 0x2b)
00061620		:hasStatSkill[05_MAG] = 1
0006162D		:hasStatSkill[01_MP ] = 1
0006163A		:hasStatSkill[00_HP ] = 1
00061647	else
0006164C	if(	p08_charID == 0x2c)
00061652		:hasStatSkill[06_MND] = 1
0006165F		:hasStatSkill[01_MP ] = 1
0006166C		:hasStatSkill[00_HP ] = 1
00061679	else
0006167E	if(	p08_charID == 0x2d)
00061684		:hasStatSkill[07_SPD] = 1
00061691		:hasStatSkill[01_MP ] = 1
0006169E		:hasStatSkill[00_HP ] = 1
000616AB	else
000616B0	if(	p08_charID == 0x2e)
000616B6		:hasStatSkill[06_MND] = 1
000616C3		:hasStatSkill[05_MAG] = 1
000616D0		:hasStatSkill[03_ATK] = 1
000616DD	else
000616DF	if(	p08_charID == 0x2f)
000616E5		:hasStatSkill[0B_RES] = 1
000616F2		:hasStatSkill[08_EVA] = 1
000616FF		:hasStatSkill[07_SPD] = 1
0006170C	else
0006170E	if(	p08_charID == 0x30)
00061714		:hasStatSkill[05_MAG] = 1
00061721		:hasStatSkill[02_TP ] = 1
0006172E		:hasStatSkill[01_MP ] = 1
0006173B	for(i = 0; i < 20; i++)
00061753		if(	[this+i*4+0x0000072c] >= 1) ; probably nTomesUsed[stat]
00061763			:hasStatSkill[i] = 1
00061776	for(i = 0; i < 12; i++)
0006178E		if(	p08_charID != 0x03)
00061794			:datStatSkill[i].id = i + 0x01
000617A7		else
000617A9			:datStatSkill[i].id = i + 0x19
000617BE	[this+0x00000728] = 0x01 ; unknown
000617CB	[this+0x00000724] = 0x01 ; unknown
000617D8	[this+0x0000058c] = 0x78 ; unknown
000617E5	[this+0x00000594] = 0x79 ; unknown
000617F2	return