Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Unexpected bugs

Unexpected bugs

ricvalerio
ricvalerio
ricvalerio · · 1 min read
3,380 0

When I was working on NPC scripting, I added the ability to cast spells in the script. As part of a quest, where you have to fight the quest giver, I made this NPC cast a fireball when his health dropped below a certain amount. The fireballs are supposed to explode on impact.

I was in for a completely unexpected moment.

To test it out, I started with a fireball myself to pass that health threshold and trigger the NPC to cast, and well, the result was not what I expected. :D

Check out in the clip below:





Discussion

Loading comments...