Closed GoogleCodeExporter closed 9 years ago
I'll take this issue, the other ones are above my coding abilities, I just need
some
input from the developers about the format. If you tell me how you want the
class to
be set up I'll get started on it. (ie. An example would be really helpful,
thanks.)
Original comment by joebingham07@gmail.com
on 17 Jan 2009 at 6:10
I think we should rename the current "Creature" class to "Mobile", and then
create a
new Creature class to hold this information. Here is a simple mockup, open to
changes:
class Creature
{
int HitPoints;
int ExperiencePoints;
int SummonMana;
int ConvinceMana;
bool CanIllusion;
bool CanSeeInvisible;
List<DamageType> Immunities;
List<DamageModifier> Strengths;
List<DamageModifier> Weaknesses;
List<String> Sounds;
int RunHealth;
List<Loot> Loot;
}
enum DamageType
{
Physical,
Earth,
Fire,
Energy,
Ice,
Holy,
Death,
Drown,
LifeDrain,
ManaDrain,
Paralysis
}
struct DamageModifier
{
DamageType DamageType;
int Percent;
}
enum LootPossibility
{
Always,
Normal,
SemiRare,
Rare,
VeryRare
}
struct Loot
{
Item Item;
LootPossibility Possibility;
}
Original comment by ian320
on 26 Feb 2009 at 3:18
Original comment by geancarl...@gmail.com
on 20 Jul 2009 at 2:07
This seems forgotten, I'll make this, as I currently have something done, in
fact.
Are we doing a constant list as on items or maybe a more dynamic storage like
xml or
sqlite?
We (or myself) could make a generator, that downloads information from
TibiaWiki.
On a fast approach I've done a generator for a file like this:
http://code.google.com/p/kedrahcore/source/browse/trunk/kedrahcore/Monsters.xml
That stores information like weakness, strenghts and beam/wave attacks.
Of course it would not be hard to get more information, and I guess it should be
better stored, it's just a poor example of my idea.
I really like this issue here, nice approach that can be used in some AI stuff.
Original comment by mega...@gmail.com
on 5 Sep 2009 at 6:57
Original comment by mega...@gmail.com
on 9 Sep 2009 at 4:36
Original comment by mega...@gmail.com
on 9 Sep 2009 at 4:36
Original comment by hard...@gmail.com
on 10 Sep 2009 at 6:45
Original issue reported on code.google.com by
Oskari.V...@gmail.com
on 16 Jan 2009 at 7:33