Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   skill_pch data, where does it come from? :O (https://postpacific.loc-online.com/showthread.php?t=1057)

HongK 29.06.2005 18:30

skill_pch data, where does it come from? :O
 
[s_queen_ant_brandish] = 1028353
[s_queen_ant_strike] = 1028609
[s_queen_ant_sprinkle] = 1028865
[s_heal_queen_ant1] = 1029121

Here's a sample from the skill_pch file for npc skills...In order for a mob to be able to access the skill, apparently it has to be defined in the skilldata file correctly, and then there has to be a reference to it here in the skill_pch file...

Above is a sample of the skill_pch...My question is, where do the numbers there come from? Like 1028353? Most mob skills are only four digit numbers like 4098...The reason I ask is because I want to add the c2 mob skills to their skill list(for those of you who don't know where this is, you can find info from a decrypted mobskillanimgrp file from the client)...

Anyone know?

EDIT: Ok here is a quote from someone else...Is this correct in how you get the pch skill id? Can anyone confirm this?

Code:

ok found it Razz
256 x skill_id + level

someone has a skillmaker program that builds pch files with correct skill_pch id ?


Digital 29.06.2005 18:45

yes it is correct
there are skill pch makers around as well.
quite a couple of them in fact.

Osito2Dancer 29.06.2005 20:21

Yep, its that. 256*skill + lvl. It works!

Oso


All times are GMT. The time now is 16:20.