Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Vagrant Story/skills: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
 
m (Xkeeper moved page Vagrant Story:skills to Vagrant Story/skills: normalize subpages and titles)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
$34 bytes each skill
{{subpage|game=Vagrant Story:Data Structures}}
256 x $34 bytes each skill starting at RAM 8004B9DC


  $0 1 [[Vagrant Story:skills list|skills list]]
  $0 1 [[Vagrant Story:skills list|skills list]]
  $1 1 ?
  $1 1 ? somehow points to the effect file(s)... (EFFPURGE)
  $2 1 bit0 ?
  $2 1 bit0: ?
  bits1-3 skill type
  bits1-3: type
0 spell
1 spell (costs MP)
1 special attack / battle abil
2 special attack / battle abil (costs RISK)
2 break art
3 break art (costs HP)
3 ? unused? (no string)
4 ? unused (costs weapon PP)
4 item effect
5 item effect (costs nothing)
5 normal
6 normal (cost defined by weapon)
6 trap
7 trap
  bits4-7 ?
  bits4-7: targeting parameters
  $3 1 cost
  $3 1 cost
  $4 4 [[Vagrant Story:range|range]]
  $4 4 [[Vagrant Story:range|range]]
  $8 4 area of effect [[Vagrant Story:range|range]]
  $8 4 area of effect [[Vagrant Story:range|range]]
  ?
  $c 1 bits0-7: WT/$100 (if $FF, use weapon's WT instead)
bit15: is learned
$14 2*4 1st-2nd hit parameters
                bits0-6: [[Vagrant Story:skill effect|skill effect]]
bits7-12: [[Vagrant Story:skill hitrate prereqs|skill hitrate prereqs]]
bits13-15: [[Vagrant Story:skill hitrate calc|skill hitrate calc]]
bits16-21: [[Vagrant Story:skill damage|skill damage]]
bits22-26: attack multiplier
bits27-28: damage type (B/E/P) if zero use weapon's
bits29-31: damage affinity, if zero use weapon's
  $1c $18str name
  $1c $18str name
[[Category:Vagrant Story]]

Latest revision as of 02:42, 24 January 2024

This is a sub-page of Vagrant Story.

256 x $34 bytes each skill starting at RAM 8004B9DC

$0	1	skills list
$1	1	? somehow points to the effect file(s)... (EFFPURGE)
$2	1	bit0:		?
		bits1-3:	type
				1	spell (costs MP)
				2	special attack / battle abil (costs RISK)
				3	break art (costs HP)
				4	? unused (costs weapon PP)
				5	item effect (costs nothing)
				6	normal (cost defined by weapon)
				7	trap
		bits4-7:	targeting parameters
$3	1	cost
$4	4	range
$8	4	area of effect range
$c	1	bits0-7:	WT/$100 (if $FF, use weapon's WT instead)
		bit15:		is learned
$14	2*4	1st-2nd hit parameters
                bits0-6:	skill effect
		bits7-12:	skill hitrate prereqs
		bits13-15:	skill hitrate calc
		bits16-21:	skill damage
		bits22-26:	attack multiplier
		bits27-28:	damage type (B/E/P) if zero use weapon's
		bits29-31:	damage affinity, if zero use weapon's
$1c	$18str	name