-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix many issues parsing and writing TFS monster abilities (#18)
These changes fix issues #6, #8, and #14 (both the melee issue and combat damage type issue) Other improvements beyond the reported issues TFS XML: Fixed parsing of condition causing spells, melee attack name, duration, animations, effects, and area information for all spells TFS RevScriptSys: Writing condition causing spells, duration, area information, outfit changing spells, animations, and effects for all, and combat type TFSXML->TFS RevScriptSys: Spells from files now in some cases but needs more testing and checking overall
- Loading branch information
Showing
15 changed files
with
890 additions
and
827 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace MonsterConverterInterface.MonsterTypes | ||
{ | ||
public enum Animation | ||
{ | ||
None = 0, | ||
Spear, | ||
Bolt, | ||
Arrow, | ||
Fire, | ||
Energy, | ||
PoisonArrow, | ||
BurstArrow, | ||
ThrowingStar, | ||
ThrowingKnife, | ||
SmallStone, | ||
Death, | ||
LargeRock, | ||
Snowball, | ||
PowerBolt, | ||
Poison, | ||
InfernalBolt, | ||
HuntingSpear, | ||
EnchantedSpear, | ||
RedStar, | ||
GreenStar, | ||
RoyalSpear, | ||
SniperArrow, | ||
OnyxArrow, | ||
PiercingBolt, | ||
WhirlwindSword, | ||
WhirlwindAxe, | ||
WhirlwindClub, | ||
EtherealSpear, | ||
Ice, | ||
Earth, | ||
Holy, | ||
SuddenDeath, | ||
FlashArrow, | ||
FlammingArrow, | ||
ShiverArrow, | ||
EnergyBall, | ||
SmallIce, | ||
SmallHoly, | ||
SmallEarth, | ||
EarthArrow, | ||
Explosion, | ||
Cake, | ||
TarsalArrow = 44, | ||
VortexBolt = 45, | ||
PrismaticBolt, | ||
CrystallineArrow, | ||
DrillBolt, | ||
EnvenomedArrow, | ||
GloothSpear, | ||
SimpleArrow | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace MonsterConverterInterface.MonsterTypes | ||
{ | ||
public enum Blood | ||
{ | ||
blood, | ||
venom, | ||
undead, | ||
fire, | ||
energy | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
app/MonsterConverterInterface/Enums/ChangeAppearanceType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace MonsterConverterInterface.MonsterTypes | ||
{ | ||
public enum ChangeAppearanceType | ||
{ | ||
MonsterName, | ||
OutfitId, | ||
Item | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace MonsterConverterInterface.MonsterTypes | ||
{ | ||
public enum CombatDamage | ||
{ | ||
Physical, | ||
Energy, | ||
Earth, | ||
Fire, | ||
LifeDrain, | ||
ManaDrain, | ||
Healing, | ||
Drown, | ||
Ice, | ||
Holy, | ||
Death | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace MonsterConverterInterface.MonsterTypes | ||
{ | ||
public enum ConditionType | ||
{ | ||
None, | ||
Poison, | ||
Fire, | ||
Energy, | ||
Bleeding, | ||
Haste, | ||
Paralyze, | ||
Outfit, | ||
Invisible, | ||
Light, | ||
ManaShield, | ||
InFight, | ||
Drunk, | ||
ExhaustWeapon, // unused | ||
Regeneration, | ||
Soul, | ||
Drown, | ||
Muted, | ||
ChannelMutedTicks, | ||
YellTicks, | ||
Attributes, | ||
Freezing, | ||
Dazzled, | ||
Cursed, | ||
ExhaustCombat, // unused | ||
Exhaust_heal, // unused | ||
Pacified, | ||
SpellCoolDown, | ||
SpellGroupCoolDown | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace MonsterConverterInterface.MonsterTypes | ||
{ | ||
public enum Effect | ||
{ | ||
None = 0, | ||
DrawBlood, | ||
LoseEnergy, | ||
Poff, | ||
BlockHit, | ||
ExplosionArea, | ||
ExplosionHit, | ||
FireArea, | ||
YellowRings, | ||
GreenRings, | ||
HitArea, | ||
Teleport, | ||
EnergyHit, | ||
MagicBlue, | ||
MagicRed, | ||
MagicGreen, | ||
HitByFire, | ||
HitByPoison, | ||
MortArea, | ||
SoundGreen, | ||
SoundRed, | ||
PoisonArea, | ||
SoundYellow, | ||
SoundPurple, | ||
SoundBlue, | ||
SoundWhite, | ||
Bubbles, | ||
Craps, | ||
GiftWraps, | ||
FireworkYellow, | ||
FireworkRed, | ||
FireworkBlue, | ||
Stun, | ||
Sleep, | ||
WaterCreature, | ||
GroundShaker, | ||
Hearts, | ||
FireAttack, | ||
EnergyArea, | ||
SmallClouds, | ||
HolyDamage, | ||
BigClouds, | ||
IceArea, | ||
IceTornado, | ||
IceAttack, | ||
Stones, | ||
SmallPlants, | ||
Carniphila, | ||
PurpleEnergy, | ||
YellowEnergy, | ||
HolyArea, | ||
BigPlants, | ||
Cake, | ||
GiantIce, | ||
WaterSplash, | ||
PlantAttack, | ||
TutorialArrow, | ||
TutorialSquare, | ||
MirrorHorizontal, | ||
MirrorVertical, | ||
SkullHorizontal, | ||
SkullVertical, | ||
Assassin, | ||
StepsHorizontal, | ||
BloodySteps, | ||
StepsVertical, | ||
YalahariGhost, | ||
Bats, | ||
Smoke, | ||
Insects, | ||
Dragonhead, | ||
OrcShaman, | ||
OrcShamanFire, | ||
Thunder, | ||
Ferumbras, | ||
ConfettiHorizontal, | ||
ConfettiVertical, | ||
// 77-157 are empty | ||
BlackSmoke = 158, | ||
// 159-166 are empty | ||
RedSmoke = 167, | ||
YellowSmoke = 168, | ||
GreenSmoke = 169, | ||
PurpleSmoke = 170, | ||
EarlyThunder = 171, | ||
RagiazBoneCapsule = 172, | ||
CriticalDamage = 173, | ||
// 174 is empty | ||
PlungingFish = 175 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace MonsterConverterInterface.MonsterTypes | ||
{ | ||
public enum SoundLevel | ||
{ | ||
Whisper, | ||
Say, | ||
Yell | ||
} | ||
} |
File renamed without changes.
Oops, something went wrong.