tmoitoi 26 Posted May 12, 2016 Share Posted May 12, 2016 Hi, i'm searching while a long time now to remove the automatic point gived on the align, anyone know where can I ? Thanks Link to comment Share on other sites More sharing options...
VegaS 1101 Posted May 12, 2016 Share Posted May 12, 2016 char.cpp: Search and delete: if (GetRealAlignment() < 0) { if (IsEquipUniqueItem(UNIQUE_ITEM_FASTER_ALIGNMENT_UP_BY_TIME)) UpdateAlignment(120 * (dwPlayedTime / 60000)); else UpdateAlignment(60 * (dwPlayedTime / 60000)); } else UpdateAlignment(5 * (dwPlayedTime / 60000)); } If you want when you sign King item (70050) as your degree of alignment to grow then alter the function only with this: if (GetRealAlignment() < 0) { if (IsEquipUniqueItem(UNIQUE_ITEM_FASTER_ALIGNMENT_UP_BY_TIME)) UpdateAlignment(120 * (dwPlayedTime / 60000)); } And search in char_battle.cpp and delete function: if (pkAttacker->IsPC()) { if (GetLevel() - pkAttacker->GetLevel() >= -10) if (pkAttacker->GetRealAlignment() < 0) { if (pkAttacker->IsEquipUniqueItem(UNIQUE_ITEM_FASTER_ALIGNMENT_UP_BY_KILL)) pkAttacker->UpdateAlignment(14); else pkAttacker->UpdateAlignment(7); } else pkAttacker->UpdateAlignment(2); I hope I understood what you said, correct me if not, this is want you want? 2 Link to comment Share on other sites More sharing options...
avertuss 48 Posted May 12, 2016 Share Posted May 12, 2016 @VegaS how can i edit rank to this: for example: if i have 10000 align point i get 1000 hp, if i have 20000 2000 hp. You know how can i do this? Link to comment Share on other sites More sharing options...
tmoitoi 26 Posted May 13, 2016 Author Share Posted May 13, 2016 18 hours ago, VegaS said: char.cpp: Search and delete: if (GetRealAlignment() < 0) { if (IsEquipUniqueItem(UNIQUE_ITEM_FASTER_ALIGNMENT_UP_BY_TIME)) UpdateAlignment(120 * (dwPlayedTime / 60000)); else UpdateAlignment(60 * (dwPlayedTime / 60000)); } else UpdateAlignment(5 * (dwPlayedTime / 60000)); } If you want when you sign King item (70050) as your degree of alignment to grow then alter the function only with this: if (GetRealAlignment() < 0) { if (IsEquipUniqueItem(UNIQUE_ITEM_FASTER_ALIGNMENT_UP_BY_TIME)) UpdateAlignment(120 * (dwPlayedTime / 60000)); } And search in char_battle.cpp and delete function: if (pkAttacker->IsPC()) { if (GetLevel() - pkAttacker->GetLevel() >= -10) if (pkAttacker->GetRealAlignment() < 0) { if (pkAttacker->IsEquipUniqueItem(UNIQUE_ITEM_FASTER_ALIGNMENT_UP_BY_KILL)) pkAttacker->UpdateAlignment(14); else pkAttacker->UpdateAlignment(7); } else pkAttacker->UpdateAlignment(2); I hope I understood what you said, correct me if not, this is want you want? Yeah perfect bro, i was missing the part of char.cpp Thx 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now