Blog

Newest Post
Blog Archives
Blog Categories

Portfolio

3D Models
Banners
Brochures
Business Cards
Custom Programming
Environments
Flash Projects
Game Design
Image Altering
Web Design

About

Resume
Recommendation Letters

Contact

December 21, 2007

Casting Magic

Filed under: DE Games — admin @ 11:43 am

I have now added the ability for the user to cast magic for battle. Instead of attacking they can click on their equipped magic they wish to cast and it will be executed. If they player does not have enough mana to cast it will display a message to the player of “Not enough mana to cast” and they will need to chose a different spell.

There are many different elements that will affect the magic. First of which is a condition. If they character is under any condition which pertains to magic such as “Render Magic” which disables all you magics, you will not be able to cast.

If the player does cast a spell then the proper mana is subtracted and the spell is cast. Depending on the type of magic it is and the element of the creature depends on how much damage it will do. If you cast fire against a fire element, it will deal less damage. If you cast water against a fire element the damage dealt is increased.

Up next I need to program the ability for the player to set conditions on an enemy.

Leave a Reply

© - Digital Epiphany Designs, Online Portfolio for Web Design, Custom Programming, Grapic Design and Game Design.