I love the scripts that players release here and they give me so many ideas to work on.
I have just one issue:
SetDamageType has to EQUAL 100 total and can not be over.
So you could do:
SetDamageType( ResistanceType.Physical, 0);
SetDamageType( ResistanceType.Poison, 100);
Because physical must be on the list.
Or:
SetDamageType( ResistanceType.Physical, 50 );
SetDamageType( ResistanceType.Poison, 50 );
Changing up the type and totals to equal 100
I am NOT trying to be a jerk or anything, I just thought I would point this out because it is one thing I see a lot.
When I started out I made ostards and their total damage was like 100 of each. These were tamable, and fortunately a player pointed that out to me and that was how I learned to Deserialize
Have a great day!
Shazzy
I have just one issue:
Code:
SetDamageType( ResistanceType.Physical, 50 );
SetDamageType( ResistanceType.Poison, 50 );
SetDamageType( ResistanceType.Fire, 50);
SetDamageType( ResistanceType.Energy, 50 );
SetDamageType( ResistanceType.Cold, 50);
SetDamageType has to EQUAL 100 total and can not be over.
So you could do:
SetDamageType( ResistanceType.Physical, 0);
SetDamageType( ResistanceType.Poison, 100);
Because physical must be on the list.
Or:
SetDamageType( ResistanceType.Physical, 50 );
SetDamageType( ResistanceType.Poison, 50 );
Changing up the type and totals to equal 100
I am NOT trying to be a jerk or anything, I just thought I would point this out because it is one thing I see a lot.
When I started out I made ostards and their total damage was like 100 of each. These were tamable, and fortunately a player pointed that out to me and that was how I learned to Deserialize
Have a great day!
Shazzy
Last edited: