Page 1 of 1

[JASS]help.make AI attribute based on player attribute.

Posted: May 13th, 2016, 3:26 am
by lastf
any suggest?
making AI attribute = x% < heroplayer attribute.

i need an example.


thank`s :D

Re: [JASS]help.make AI attribute based on player attribute.

Posted: May 13th, 2016, 11:41 am
by XD!
If I understand it correctly... won't increasing the hero attribute and leaving the A.I. unchanged sort of do a similar result? Care to explain in a more specific scenario?

Re: [JASS]help.make AI attribute based on player attribute.

Posted: May 13th, 2016, 2:07 pm
by lastf
i want to make mercenaries for helping singleplayer hero in multiplayer map.
AI stats = half(50%) hero player stats.i mean AI will only have 50% stats form player stats .
example:
-player stats : agi = 30+20(30 basic)(+20 form item,buff, etc).
player have total agi=50.
-meracanaries/AI stats= 50% player stats. so AI will have : agi= 50%(total player agi)=50%(50)=25

its hard to get the example for what i wanna do.i already try to searching @ google.but i dont get it.
XD
i do like to take a recommendation form book or anything.
thank`s :D

Re: [JASS]help.make AI attribute based on player attribute.

Posted: May 13th, 2016, 3:12 pm
by XD!
Map of concern?

Re: [JASS]help.make AI attribute based on player attribute.

Posted: May 14th, 2016, 6:19 pm
by lastf
map type?
orpg

Re: [JASS]help.make AI attribute based on player attribute.

Posted: May 15th, 2016, 5:35 pm
by XD!
But ORPG can be almost any map that has save-load...

What specific type of map is this from? Or give any map that has similarities to the jass stuff you are talking about _______
You are inserting a cheatpack/trigger/editing a map OR are you making building your own new map?