Jump to content

scf1ntap

Member
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

scf1ntap's Achievements

Rookie

Rookie (2/16)

  • One Year In
  • One Month Later
  • First Post
  • Conversation Starter
  • Dedicated

Recent Badges

0

Reputation

  1. Hello, I have in the game source a title that offers 20k pv, I would like to change it to set the MAX PV to 150k for the German duel, not to offer pv but to set 150k pv on char.cpp i have this if (item->GetVnum() == 39377 && (GetMapIndex() != 61 && GetMapIndex() != 63 && GetMapIndex() != 72)) return; else if (item->GetVnum() == 39377 && (GetMapIndex() == 61 || GetMapIndex() == 63 || GetMapIndex() == 72)) { CAffect* pAffect1 = FindAffect(AFFECT_BOOST_PV); CAffect* pAffect2 = FindAffect(AFFECT_BOOST_CAST); if (!pAffect1) AddAffect(AFFECT_BOOST_PV, POINT_MAX_HP, 120000, 0, 60*60*60*365, 0, true); if (!pAffect2) AddAffect(AFFECT_BOOST_CAST, POINT_CASTING_SPEED, -20, 0, 60*60*60*365, 0, true); } DWORD iTitle = item->GetValue(1); SetPoint(POINT_TITLE, iTitle); ComputePoints(); PointsPacket(); UpdatePacket(); } How could I have it set my MAX PV to 150k, not give me 120k pv in + because i don't want to one player have 140k, other 145k etc etc.
×
×
  • 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.