Guest User

Untitled

a guest
Aug 16th, 2017
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. void CInputLogin::Entergame(LPDESC d, const char * data)
  2. {
  3. LPCHARACTER ch;
  4.  
  5. if (!(ch = d->GetCharacter()))
  6. {
  7. d->SetPhase(PHASE_CLOSE);
  8. return;
  9. }
  10.  
  11. #ifdef __ALIGNMENT_BONUS__
  12. if (GetRealAlignment() == NAME_ALIGNMENT_1)
  13. {
  14. AddAffect(ALIGNMENT_BONUS_1, POINT_MAX_HP, VALUE_BONUS_ALIGNMENT_1, 0, ALIGNMENT_TIME, 0, true);
  15. }
  16. if (GetRealAlignment() == NAME_ALIGNMENT_2)
  17. {
  18. AddAffect(ALIGNMENT_BONUS_2, POINT_MAX_HP, VALUE_BONUS_ALIGNMENT_2, 0, ALIGNMENT_TIME, 0, true);
  19. }
  20. #endif
  21.  
  22. PIXEL_POSITION pos = ch->GetXYZ();
  23.  
  24. [...]
Advertisement
Add Comment
Please, Sign In to add comment