Disable Hunger when reaching XX level of Innate Metabolism - Code Help
Hi everyone.
I've turned Innate Metabolism into 5 tiers, with the 5th tier removing the need for food and drink all together. I have tried to play around with GetAALevel() but my lack of any real knowledge and inability to find any intuitive examples that I can grasp has left me with compile issues. What i'm hoping to do is disable prevent food loss akin to the character being a GM or in the bazaar, but ONLY when GetAAlevel of skill id 15 == 5 (15 is the aa id of innate metabolism). zone\client_process.cpp Code:
if (zone->GetZoneID() != 151 && !GetGM()) { |
Some tutorial links helped me sort out my issue and I was able to make it work as intended. Thanks anyway.
Edit: altogether* |
All times are GMT -4. The time now is 05:17 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.