iSnow Posted May 20, 2013 Author Share Posted May 20, 2013 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 More sharing options...
JohnPony Posted May 20, 2013 Share Posted May 20, 2013 ```For I = 1 To Vitals.Vital_Count - 1 Call SendVital(Index, I) Next```You have this in ApplyBuff correct? Link to comment Share on other sites More sharing options...
Zeno Posted May 21, 2013 Share Posted May 21, 2013 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 More sharing options...
escfoe2 Posted May 23, 2013 Share Posted May 23, 2013 > which happen in the updated Sub GetPlayerStats.That's a function, not a sub. lolBy the way, it would be more efficient if you made a small packet that only sends the player's stats. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now