Jump to content
  • 0

Question

Posted

Hello

this is the Code

 

     public void setExp(long expValue)
     {
-        if (expValue > (Experience.LEVEL[81] - 1))
-            expValue = (Experience.LEVEL[81] - 1);
+        if (expValue > (Experience.LEVEL[86] - 1))
+            expValue = (Experience.LEVEL[86] - 1);
         

 

But i dont know about this Lines

-        if (expValue > (Experience.LEVEL[81] - 1))
-            expValue = (Experience.LEVEL[81] - 1);

When they have - it means i must not put them at all?

3 answers to this question

Recommended Posts

  • 0
Posted

[GR] Ama vreis kapou pou na leeei

 

       if (expValue > (Experience.LEVEL[81] - 1))
           expValue = (Experience.LEVEL[81] - 1)

 

na ta diagrapseis kai na valeis afta

 

       if (expValue > (Experience.LEVEL[86] - 1))
            expValue = (Experience.LEVEL[86] - 1);

 

  • 0
Posted

[GR] Ama vreis kapou pou na leeei

 

       if (expValue > (Experience.LEVEL[81] - 1))
           expValue = (Experience.LEVEL[81] - 1)

 

na ta diagrapseis kai na valeis afta

 

       if (expValue > (Experience.LEVEL[86] - 1))
            expValue = (Experience.LEVEL[86] - 1);

 

ama exei alla?

if (expValue > (Experience.LEVEL[_maxLevel + 1] - 1))
		expValue = (Experience.LEVEL[_maxLevel + 1] - 1);

exei afta

Guest
This topic is now closed to further replies.


×
×
  • Create New...