Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static float GetCurrentPrimaryResource()
- {
- if (_me.ActorClass == ActorClass.Necromancer)
- {
- return _me.CommonData.GetAttribute<float>(ActorAttributeType.ResourceCur, 8);
- }
- return _me.CurrentPrimaryResource;
- }
- private static float GetMaxPrimaryResource()
- {
- if (_me.ActorClass == ActorClass.Necromancer)
- {
- return _me.CommonData.GetAttribute<float>(ActorAttributeType.ResourceEffectiveMax, 8);
- }
- return _me.MaxPrimaryResource;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement