Skip to content

Commit

Permalink
Fe6 bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Veslyquix committed Apr 19, 2024
1 parent 6d224b3 commit e70d45b
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 83 deletions.
1 change: 1 addition & 0 deletions .FE6_Installer.event
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ NeverChangeFromItem(0x3E) // Aureola
NeverChangeFromItem(0x42) // Apocalypse
//NeverChangeFromItem(0x71) // Eckesachs
NeverChangeFromItem(0x77) // Saint's staff
NeverChangeIntoItem(0x4F) // useless staff "Makes closed areas visible."

ALIGN 4
VarianceText:
Expand Down
6 changes: 6 additions & 0 deletions C_code.c
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,13 @@ void UnitInitFromDefinition(struct Unit* unit, const struct UnitDefinition* uDef
unit->ranks[i] = wexp;

if (i == 7) { // dark
#ifdef FE6
if ((unit->ranks[i]) && (unit->ranks[i] < 51)) { unit->ranks[i] = 51; }
#endif
#ifndef FE6
if ((unit->ranks[i]) && (unit->ranks[i] < 31)) { unit->ranks[i] = 31; }
#endif

// flux is D rank, not E...
}

Expand Down
Loading

0 comments on commit e70d45b

Please sign in to comment.