Buff, debuff and pick system explained !

posted in Luthier Dev Blog
Published July 13, 2024
Advertisement

Hello so i've been improving this systems for about two weeks and i record new devlog
if you interested in some techincal stuff check out 👇
https://youtu.be/L90LOsy56cU

Hello adventurers! Get ready for another thrilling update from the universe of Luthier. In roguelike games, character development and unique strengthening in each run keep the game fresh and thrilling every time. Over the past two weeks, I've added a new Buff and Debuff system to Luthier and integrated the Pick system. Let's dive into the details of this system together!

🎉 Buff and Debuff System 🎉

With each run, your character evolves in unique ways compared to previous runs. This adds incredible depth to the game. So, I kicked things off by adding the Buff and Debuff system. This system lets your character develop differently and uniquely every run, making each adventure a brand-new experience!

🪕 Pick System 🪕

Meet the Pick system! We'll be adding a lot more picks and removing some of the current ones, but the core system is working perfectly for now. In the full release, there will be many more picks to ensure each run feels distinct. Let’s check out the picks we currently have:

🔥 Flame Pick: Deals damage over time (DOT damage) to enemies.
⚡ Electric Pick: Creates a link between enemies and damages them all simultaneously.
❄️ Ice Pick: Slows down enemies.
🧛 Vampire Pick: Steals health from enemies. (My favorite!)

These picks spice up our basic attacks.

🎬 Game Events and Triggered Picks 🎬

We also have picks that are triggered by in-game events. These picks activate after certain events in the game world.

💨 Dash Rift: Creates an area beneath your feet when you dash, damaging enemies who enter it.
🎸 Third Riff: Opens a rift with every third attack, damaging all who enter it.
🛡️ Shield: Prevents the character from taking damage for a certain period.
💥 Explosion Pick: Causes an explosion when an enemy dies.
🔥 Fire Explosion Pick: Creates a fire area and deals DOT damage when an enemy dies.
⚡ Electric Area Pick: Creates an electric area and links nearby enemies, damaging them when an enemy dies.

These event-driven picks showcase the system’s flexibility and power. Adding new picks only requires new events!

🔧 Additional Enhancements 🔧

We also have picks in testing that increase attack power, movement speed, and critical rate.

Let’s dive into some technical stuff and explore the depths of my Buff and Debuff system. 🚀

Firstly, at the heart of my system, I have a manager class for each entity: BuffController. This class handles the addition, removal, and operation of buffs and debuffs. My buffs and debuffs use their specific classes along with the IDebuff interface. This interface includes headers for when the debuff is obtained and when it needs to be updated.

The role of the BuffController is quite significant. Like a conductor of an orchestra, it ensures the harmonious operation of buffs, debuffs, and picks. 🎶 For example, the FireDebuff class is a debuff that deals damage over a certain period. This class manages how the fire debuff operates:

  • Has the debuff started? 🔥
  • Should damage be dealt? 💥
  • Has the debuff ended? ⏰

Each debuff can have its unique operation. Therefore, I can write different logic for each debuff. For instance, the Shield Buff doesn’t need to be updated. It simply activates the shield once and deactivates it when the duration ends. In this case, I only need to write specific code for the moment the buff is first obtained. So, it operates on a one-time basis! 🛡️

My buff and debuff system is a crucial component that shapes the dynamics of the game world and the experience I offer to players. This system allows players to make strategic decisions and makes the gameplay more exciting. The unique operation of each buff and debuff requires players to constantly develop new strategies. 🎮

🎊 Conclusion 🎊

With these new systems and additions in Luthier, I aim to make each run feel more unique and exciting. I'm thrilled to share these updates with you and will be back with more innovations in future updates. Until then, get your picks ready and continue your adventure in the world of Luthier!

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement