Register for your free account! | Forgot your password?

You last visited: Today at 01:03

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Problem in my stamina

Discussion on Problem in my stamina within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2010
Posts: 22
Received Thanks: 1
Problem in my stamina

Hi guys .when I sit my stamina not fill faster follows the code.

HTML Code:
#region Stamina
                        if (Now > this.StaminaStamp.AddMilliseconds(1000))
                        {
                            if (Owner.Entity.Vigor < Owner.Entity.MaxVigor)
                            {
                                if (Owner.Entity.Vigor + 3 < Owner.Entity.MaxVigor)
                                {
                                    Owner.Entity.Vigor += (ushort)(3 + (Owner.Entity.Action == Game.Enums.ConquerAction.Sit ? 2 : 0));

                                    {
                                        Network.GamePackets.Vigor vigor = new Network.GamePackets.Vigor(true);
                                        vigor.VigorValue = Owner.Entity.Vigor;
                                        vigor.Send(Owner);
                                    }
                                }
                                else
                                {
                                    Owner.Entity.Vigor = (ushort)Owner.Entity.MaxVigor;

                                    {
                                        Network.GamePackets.Vigor vigor = new Network.GamePackets.Vigor(true);
                                        vigor.VigorValue = Owner.Entity.Vigor;
                                        vigor.Send(Owner);
                                    }
                                }
                            }
                            if (!this.ContainsFlag(Network.GamePackets.Update.Flags.Fly))
                            {
                                int limit = 0;
                                if (this.HeavenBlessing > 0)
                                    limit = 50;
                                if (this.Stamina != 100 + limit)
                                {
                                    if (this.Action == Game.Enums.ConquerAction.Sit || !this.Owner.Equipment.Free(18))
                                    {
                                        if (this.Stamina <= 93 + limit)
                                        {
                                            this.Stamina += 7;
                                        }
                                        else
                                        {
                                            if (this.Stamina != 100 + limit)
                                                this.Stamina = (byte)(100 + limit);
                                        }
                                    }
                                    else
                                    {
                                        if (this.Stamina <= 97 + limit)
                                        {
                                            this.Stamina += 3;
                                        }
                                        else
                                        {
                                            if (this.Stamina != 100 + limit)
                                                this.Stamina = (byte)(100 + limit);
                                        }
                                    }
                                }
                                this.StaminaStamp = Now;
                            }
                        }
                        #endregion
Help me
matheus2984 is offline  
Old 05/31/2013, 17:08   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
Make sure your action is set properly. According to that code you get +7 for sitting and +3 if not.
pro4never is offline  
Old 05/31/2013, 18:18   #3
 
elite*gold: 0
Join Date: Oct 2010
Posts: 22
Received Thanks: 1
but my problem is action sit it not work
matheus2984 is offline  
Old 05/31/2013, 18:30   #4
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,225
Received Thanks: 868
Why not use a Math. function for stamina ;o
_DreadNought_ is offline  
Old 05/31/2013, 18:36   #5
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
If your stamina got a problem, you should try running everyday for 7 days.
diedwarrior is offline  
Thanks
3 Users
Reply


Similar Threads Similar Threads
[Tipp] Stamina Up + Stamina
10/15/2010 - WarRock Guides, Tutorials & Modifications - 7 Replies
Hallo Leute , ich möchte euch ein kleinen bisschen über die Vorteile der Stamina erklären. Stamina Stamina , heißt Ausdauer , und ist in Warrock wichtig , denn dadruch kann man meißt dem Gegner ausweichen , oder vor ihm flüchten. Stamina ist auch wichtig um einen geplanten Überraschungsangriff zu erstellen. Da dieser sehr hilfreich ist , und ihr beim 1. erfolgreichen Überraschungsangriff es auch merken werdet ;)
Stamina
03/23/2010 - WarRock - 5 Replies
Ich habe eine frage weil in dne meisten Hacks die ich habe kommt Stamina vor was bringt Stamina?
WTS Necklance of fortune (Stamina 3) + Flying Ring (Stamina 3) Cyprius
04/02/2009 - Archlord Trading - 0 Replies
Hi all, WTS Necklance of fortune (Stamina 3) + Flying Ring (Stamina 3) Each one 20€, i accept only paypal and €, if someone interesetet pm me thanks! The items are on Cyprius!
stamina bar....
06/25/2007 - Conquer Online 2 - 4 Replies
hi guys i was just thinking bout it while i was lvingmy firedoes anyone kno a way of editing the stamina bar so that we dont hav to sit and be able to automatically use meditate orspirit heal or is this server sided? well if u do can u plz post would save alot of time ty 8^)... (save alot of time on skills example: guard lving, meditation ...etc.
no stamina?
11/11/2005 - Conquer Online 2 - 3 Replies
i tried summoning my guard and i noticed when i do summon guard it says i have no stamina so i sat down and it still says i have no stamina? anyone know a way to fix this?



All times are GMT +1. The time now is 01:04.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.