Jump to content

Recommended Posts

Hey ! 
I have an idea and need help to implementation

What if the alignment give bonus for example 
Alignment (1) > 1000  then 10k HP

Alignment (1) > 4000  then 30k HP ..

I found one topic on dev but this not work for me. 

Somebody can help me ? 

 

Thanks for reply ! :)

 

 

Link to comment
https://metin2.dev/topic/24579-align-bonus/
Share on other sites

Okay, but I edited  this : 

if (GetRealAlignment() == NAME_ALIGNMENT_1)

to 

if (GetRealAlignment() > 1000 && GetRealAlignment() < 2000 ) 
 

server is down recently.

if (GetRealAlignment() < NAME_ALIGNMENT_1 )
   {
     blabla
  }
if (GetRealAlignment() > NAME_ALIGNMENT_1)
    {
     blabla
  }

or this isn't work

Link to comment
https://metin2.dev/topic/24579-align-bonus/#findComment-131540
Share on other sites

  • Honorable Member
  • Solution

GitHub Repository: 

This is the hidden content, please

Preview: https://metin2.download/picture/3m27cf351hv67tz592fY1akdHlKKN5Zs/.gif

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 99
  • kekw 1
  • Dislove 1
  • Good 15
  • Love 66
Link to comment
https://metin2.dev/topic/24579-align-bonus/#findComment-131541
Share on other sites

  • 2 years later...
On 8/28/2020 at 1:39 AM, Owsap said:

GitHub Repository: 

This is the hidden content, please

Preview: https://metin2.download/picture/3m27cf351hv67tz592fY1akdHlKKN5Zs/.gif

Hi one question how to add more bonus?

on this 

{ ALIGNMENT_LEVEL2 /* 8000 */, POINT_MAX_HP, 1500 }, i nedd 1,5k and 15 monster cand u help me?

  • Metin2 Dev 4
  • Love 1
Link to comment
https://metin2.dev/topic/24579-align-bonus/#findComment-158355
Share on other sites

  • 5 months later...
On 6/27/2023 at 9:23 PM, PandiCore said:

Hi one question how to add more bonus?

on this 

{ ALIGNMENT_LEVEL2 /* 8000 */, POINT_MAX_HP, 1500 }, i nedd 1,5k and 15 monster cand u help me?

example : 

int iAlignmentBonus[MAX_ALIGNMENT_LEVEL][31] = {
		{ ALIGNMENT_LEVEL1 /* 12000 */, POINT_MAX_HP, 2000 },
		{ ALIGNMENT_LEVEL2 /* 8000 */, POINT_MAX_HP, 1500 },
		{ ALIGNMENT_LEVEL3 /* 4000 */, POINT_MAX_HP, 1000 },
		{ ALIGNMENT_LEVEL4 /* 1000 */, POINT_POISON_PCT, 10 },
		{ ALIGNMENT_LEVEL5 /* 1000 */, POINT_CRITICAL_PCT, 10 },
		{ ALIGNMENT_LEVEL6 /* 1000 */, POINT_PENETRATE_PCT, 10 },
		{ ALIGNMENT_LEVEL7 /* 1000 */, POINT_ATTBONUS_HUMAN, 10 },
		{ ALIGNMENT_LEVEL8 /* 1000 */, POINT_ATTBONUS_ANIMAL, 10 },
		{ ALIGNMENT_LEVEL9 /* 1000 */, POINT_ATTBONUS_ORC, 10 },
		{ ALIGNMENT_LEVEL10 /* 1000 */, POINT_ATTBONUS_MILGYO, 10 },
		{ ALIGNMENT_LEVEL11 /* 1000 */, POINT_ATTBONUS_UNDEAD, 10 },
		{ ALIGNMENT_LEVEL12 /* 1000 */, POINT_ATTBONUS_DEVIL, 10 },
		{ ALIGNMENT_LEVEL13 /* 1000 */, POINT_ATTBONUS_INSECT, 10 },
		{ ALIGNMENT_LEVEL14 /* 1000 */, POINT_ATTBONUS_FIRE, 10 },
		{ ALIGNMENT_LEVEL15 /* 1000 */, POINT_ATTBONUS_ICE, 10 },
		{ ALIGNMENT_LEVEL16 /* 1000 */, POINT_ATTBONUS_MONSTER, 10 },
		{ ALIGNMENT_LEVEL17 /* 1000 */, POINT_ATTBONUS_WARRIOR, 10 },
		{ ALIGNMENT_LEVEL18 /* 1000 */, POINT_ATTBONUS_ASSASSIN, 10 },
		{ ALIGNMENT_LEVEL19 /* 1000 */, POINT_ATTBONUS_SURA, 10 },
		{ ALIGNMENT_LEVEL20 /* 1000 */, POINT_ATTBONUS_SHAMAN, 10 },
		{ ALIGNMENT_LEVEL21 /* 1000 */, POINT_RESIST_WARRIOR, 10 },
		{ ALIGNMENT_LEVEL22 /* 1000 */, POINT_RESIST_ASSASSIN, 10 },
		{ ALIGNMENT_LEVEL23 /* 1000 */, POINT_RESIST_SURA, 10 },
		{ ALIGNMENT_LEVEL24 /* 1000 */, POINT_RESIST_SHAMAN, 10 },
		{ ALIGNMENT_LEVEL25 /* 1000 */, POINT_RESIST_SWORD, 10 },
		{ ALIGNMENT_LEVEL26 /* 1000 */, POINT_RESIST_TWOHAND, 10 },
		{ ALIGNMENT_LEVEL27 /* 1000 */, POINT_RESIST_DAGGER, 10 },
		{ ALIGNMENT_LEVEL28 /* 1000 */, POINT_RESIST_BELL, 10 },
		{ ALIGNMENT_LEVEL29 /* 1000 */, POINT_RESIST_BOW, 10 },
		{ ALIGNMENT_LEVEL30 /* 1000 */, POINT_ATTBONUS_STONE, 10 },
		{ ALIGNMENT_LEVEL31 /* 1000 */, POINT_ATTBONUS_BOSS, 10 },
		{ ALIGNMENT_LEVEL32 /* 4000 */, POINT_MAX_HP, 2500 },
	};

 

On 8/28/2020 at 12:39 AM, Owsap said:

GitHub Repository: 

Hidden Content

  • Give reaction to this post to see the hidden content.

 

Preview: https://metin2.download/picture/3m27cf351hv67tz592fY1akdHlKKN5Zs/.gif

https://metin2.download/picture/HK4OkEOniNM30DBxnYYylZMz7TZtQPMK/.png 

up here where it shows you +10, I would like it to show me what bonus there is, can you help me somehow? ( Penetration/Critic +10)

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Love 1
Link to comment
https://metin2.dev/topic/24579-align-bonus/#findComment-161487
Share on other sites

  • 5 months later...

I also installed this system, but I received this syserr.

Does anyone have a solution?

//I'm a beginner//

 

 

0603 11:30:03769 :: 
networkmodule.py(line:202) SetSelectCharacterPhase
system.py(line:179) __hybrid_import
system.py(line:147) _process_result
introselect.py(line:25) <module>
system.py(line:179) __hybrid_import
system.py(line:147) _process_result
uiaffectshower.py(line:572) <module>
uiaffectshower.py(line:660) AffectShower

networkmodule.SetSelectCharacterPhase - <type 'exceptions.NameError'>:name 'localeInfo' is not defined

0603 11:30:03769 :: ============================================================================================================
0603 11:30:03769 :: Abort!!!!

Edited by Gkovacs32
Link to comment
https://metin2.dev/topic/24579-align-bonus/#findComment-165480
Share on other sites

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.