-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Often times information is missing from creature files. A new monster is created with some default values to fill in the gaps and make the conversion work better especially when moving between formats of different systems where values don't match exactly for example TibiaWiki to TFS. TibiaWiki has no concept of StaticAttack
so a default value is needed.
Instead of hard coding these values they should be made available as input so they can be set by the user. See monsters.cs for the current hard coded values
ot-monster-converter/app/MonsterConverterInterface/MonsterTypes/Monster.cs
Lines 10 to 59 in 2434da4
public Monster() | |
{ | |
Voices = new List<Voice>(); | |
MaxSummons = 0; | |
Summons = new List<Summon>(); | |
Items = new List<Loot>(); | |
LookTypeDetails = new DetailedLookType(); | |
Attacks = new List<Spell>(); | |
SummonCost = 0; | |
Attackable = true; | |
Hostile = true; | |
Illusionable = false; | |
ConvinceCost = 0; | |
Pushable = false; | |
PushItems = false; | |
PushCreatures = false; | |
TargetDistance = 1; | |
StaticAttack = 95; | |
LightLevel = 0; | |
LightColor = 0; | |
RunOnHealth = 0; | |
IsBoss = false; | |
HideHealth = false; | |
AvoidFire = true; | |
AvoidEnergy = true; | |
AvoidPoison = true; | |
// Immunities | |
IgnoreParalyze = false; | |
IgnoreInvisible = false; | |
IgnoreDrunk = false; | |
IgnoreOutfit = false; | |
// Defences | |
TotalArmor = 10; | |
Shielding = 5; | |
// Elements | |
Fire = 1; | |
Earth = 1; | |
Energy = 1; | |
Ice = 1; | |
Holy = 1; | |
Death = 1; | |
Physical = 1; | |
Drown = 1; | |
LifeDrain = 1; | |
ManaDrain = 1; | |
} |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request