Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As an exercise, try to add health scaling yourself. We want max health to scale up by ScaleFactorPerKill just like size does. It's up to you what this does to the pawn's current health, but I'm just going to make that scale up by the same amount. One thing you might want though:

...

languageactionscript3

...

I'm going to just gloss over the solution to health scaling and show the final pawn class as a whole, including the health scaling feature. Don't look at this if you want to try implementing it yourself:

...