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

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

lastf
Newcomer
Posts: 3
Joined: May 8th, 2016, 6:45 pm

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

Post by lastf »

any suggest?
making AI attribute = x% < heroplayer attribute.

i need an example.


thank`s :D
User avatar
XD!
Senior Member
Posts: 156
Joined: May 15th, 2012, 6:09 pm

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

Post 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?
. . .
lastf
Newcomer
Posts: 3
Joined: May 8th, 2016, 6:45 pm

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

Post 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
User avatar
XD!
Senior Member
Posts: 156
Joined: May 15th, 2012, 6:09 pm

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

Post by XD! »

Map of concern?
. . .
lastf
Newcomer
Posts: 3
Joined: May 8th, 2016, 6:45 pm

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

Post by lastf »

map type?
orpg
User avatar
XD!
Senior Member
Posts: 156
Joined: May 15th, 2012, 6:09 pm

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

Post 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?
. . .