Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Buff/DeBuff System Problem


iSnow
 Share

Recommended Posts

Evening Eclipse,

I've added this tutorial for Buffs and Debuffs made by Ryoku Hasu ( [http://www.touchofde…uff-spells-v12/](http://www.touchofdeathforums.com/community/index.php?/topic/125070-eo-buffdebuff-spells-v12/) ) and I've encountered a problem.

When you apply a buff, your player stats are not updated, and you can't tell you've been buffed at all. I feel like this issue is part of a code piece that's missing, or perhaps no function to display buff times or types was not added at all. If anyone has the same issue, how might one fix this?
Link to comment
Share on other sites

The vitals probably update correctly - it's the stats that don't (str, agi, etc.).

There is in fact something missing from the code. In your Case SPELL_TYPE_BUFFs, add Call SendPlayerData(index) or Call SendPlayerData(Target), depending on the context. This will send the player's updated stats, which happen in the updated Sub GetPlayerStats.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...