Jump to content

Recommended Posts

Hi, I wrote such a thing, but not quite work. The point is that it is the new reinforcement of subject matter that adds bonuses in costumes.

 



if (item->GetVnum() == 41003 || item->GetVnum() == 41004)
									{
										if(item->GetVnum() == 27992)
										{
											item->ClearAttribute();
											item->SetForceAttribute(0, APPLY_MAX_HP, 2000);
											item->SetForceAttribute(1, APPLY_MAX_SP, 80);
											item->SetForceAttribute(2, APPLY_PENETRATE_PCT, 10);
											item->SetForceAttribute(3, APPLY_STEAL_HP, 10);
											item->SetForceAttribute(4, APPLY_MANA_BURN_PCT, 10);
											item->SetCount(item->GetCount() - 1);
											ChatPacket(CHAT_TYPE_INFO, "Added");
											break;
										}
									}
Link to comment
https://metin2.dev/topic/9408-new-item-to-add-bonuses-in-costume/
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.