avertuss 48 Posted March 23, 2018 Share Posted March 23, 2018 Hi. How to block damage to human when player use item with 12345 vnum? Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 25, 2018 Author Share Posted March 25, 2018 f5 Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 26, 2018 Author Share Posted March 26, 2018 Should it look like if (pAttacker->GetVnum() == 12345 && pkVictim->IsNPC()) { iAtk = iAtk*0.1; } in battle.cpp? Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 29, 2018 Author Share Posted March 29, 2018 f5 Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 31, 2018 Author Share Posted March 31, 2018 f5 Link to comment Share on other sites More sharing options...
avertuss 48 Posted April 2, 2018 Author Share Posted April 2, 2018 f5 Link to comment Share on other sites More sharing options...
avertuss 48 Posted April 7, 2018 Author Share Posted April 7, 2018 f5 Link to comment Share on other sites More sharing options...
Honorable Member Distraught 5906 Posted April 8, 2018 Honorable Member Share Posted April 8, 2018 look for UseItemEx function in char_item.cpp and add to the begining: if(item->GetVnum() == 12345) { if(cannot_dead) ResetArmada(); else SetArmada(); } Link to comment Share on other sites More sharing options...
avertuss 48 Posted April 11, 2018 Author Share Posted April 11, 2018 f5 Link to comment Share on other sites More sharing options...
Lua_Horus2 2 Posted June 24, 2018 Share Posted June 24, 2018 Up 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