Jump to content
  • 0

Align bonus


Datheft15
Go to solution Solved by Owsap,

Question

Hey ! 
I have an idea and need help to implementation

What if the alignment give bonus for example 
Alignment (1) > 1000  then 10k HP

Alignment (1) > 4000  then 30k HP ..

I found one topic on dev but this not work for me. 

Somebody can help me ? 

 

Thanks for reply ! :)

 

 

Link to post

4 answers to this question

Recommended Posts

  • 0
  • VIP

I checked the code in that thread, actually it should work

but since you'll add it in 

void CInputLogin::Entergame

so it will be applied when you sign out and log in again so bonuses are applied.

Link to post
  • 0

Okay, but I edited  this

if (GetRealAlignment() == NAME_ALIGNMENT_1)

to 

if (GetRealAlignment() > 1000 && GetRealAlignment() < 2000 ) 
 

server is down recently.

if (GetRealAlignment() < NAME_ALIGNMENT_1 )
   {
     blabla
  }
if (GetRealAlignment() > NAME_ALIGNMENT_1)
    {
     blabla
  }

or this isn't work

Link to post
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.