hi! im new... and already need help

Zemeio!

Cool Member
Reaction score
1
1: Hi, im new and brasilian (so i dont speak english well)... u really can help me.. cuz im very noob... ill help with whatever i can cuz i like 2 help and 2 be helped.. so.. let go 2 the question

2: I have a problem... my map is based on a game (Valkirye Profile) where the char have "energy" when your fighting when the char hit u get energy and when its 100 u can use the special attack (in-game: "purify weird soul") so i want to use the mana for it but.......... i can't set the max mana 2 100!!!!! (im soo noob) i tryed looking for a trigger 2 do this cuz the int were increasing the mana and the mana regen (mana regen should be 0) i couldnt find a trigger, i dont understand completely the unit editor so i dont know if there is an option.. plz help..

3: well, nice 2 meet u, hopefully iv put all the forum rules say (tell me if i didnt put anything) and ty!!
 

SilverHawk

General Iroh - Dragon of the West
Reaction score
89
Look in the unit editor for the field "Stats - Mana Maximum" and change it to 100.
 

Zemeio!

Cool Member
Reaction score
1
more help

very simple.. but it didnt work (not sure y) iv put 100 and the max mana was 700 because of the int (guessing) ty for tying.. but i already tryed
 

Zemeio!

Cool Member
Reaction score
1
cool!!

ty for your help.. i found the problem thanks 2 annother post, some1 mentioned tha advanced - gameplay constants then i took a look at it and i found!! the mana per int and mana regen per int!!! ty alot (dont remember wich thread i found)!! but ty!
 

Rinpun

Ex TH Member
Reaction score
105
Yep. I suggest also that since you can only reduce your int to 1 that you make it either impossible to level up or set the int given per level to 0. Then, set the max mana and blah to 99...int can only give you a minimum of 1 mana per point.
 

Zemeio!

Cool Member
Reaction score
1
Hero Attributes - Mana Point per Intelligence Point: 0.00
Hero Attributes - Mana Regen. Bonus per Intelligence Point: 0.00

isn't that enough?
 

Rinpun

Ex TH Member
Reaction score
105
Oh, well if you can select that then you're good :cool:
 

Zemeio!

Cool Member
Reaction score
1
i need mooore help plz :) the problem with the mana is almost finished (hopefully) now i think he doesnt get mana and mana regen with int.. but i am thinking about how he gets mana.. i thought in trigger like
Events- Unit- A unit Is attacked
Conditions- ((Attacking unit) is A Hero) Equal to True
Actions- Unit- Set mana of (Triggering Unit) to ((Mana of Triggering Unit)) +10.0

but that would lag 2 much.. any suggestion of how 2 put it in an hability? (like vampiric aura), plz help me and ty a lot
-reedited because of the endless mistakes i made while wirting-
 

Rinpun

Ex TH Member
Reaction score
105
Nope, that's the best you can do. Things like Vampiric Aura are as laggy as your trigger...that is, not very much.

Just make sure not to have too many people attacking each other and getting mana. To be more precise, in case you have units that aren't supposed to get mana, you can add to the condition that the attacking unit is a hero dude.
 

Zemeio!

Cool Member
Reaction score
1
ok them.. ty... 1 day ill delete the thread.. for now ill leave it open in case of some1 have a suggestion : )
 

Zemeio!

Cool Member
Reaction score
1
subject change (still need help)

hehehehe, im really loving this site : )
i dont understand this "For each (Interger A) from 1 to 10, do (Actions)" (so noob)
can any1 explain it 2 me? (plz)
 

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,698
Please do not delete threads. Leave the threads because they might help others.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,494
Why don't you simply try it?

With a trigger like this one, for example:
Code:
Foreach
    Events
        Time - Elapsed game time is 5.00 seconds
    Conditions
    Actions
        For each (Integer A) from 3 to 7, do (Actions)
            Loop - Actions
                Game - Display to (All players) the text: (String((Integer A)))


The expected output on screen would be:
3
4
5
6
7
 

Zemeio!

Cool Member
Reaction score
1
i usually dont trye cuz my pc is VERY strange..
it gets overheat everytime.. then it stops.. then it starts reseting and stops again, then it starts freezing and stops again.. sometimes it even delete stuff.. but i usually dont trye because of the "overheat"..
ty for the help : )
 

Rinpun

Ex TH Member
Reaction score
105
Basically, it's a good way for doing array schtuff. I can't think of an example at the moment, but basically you can have it check if this is that and that is this before doing something with your variable[Integer A]. Like creating a random amount of items. In my Virtua map it does this:

For each (Integer A) from 0 to (Random integer number between 1 and 2), do (Actions)
Loop - Actions
Item - Create Raw Meat at (Position of (Triggering unit))

The event is that a Neutral Passive dude dies, and these guys are only chickens and deer and other wild animals. So, with this loop, I can create 1 to 3 pieces of meat on an animals corpse.
 

Zemeio!

Cool Member
Reaction score
1
backing 2 the old problem

with
Code:
Events- Unit- A unit Is attacked
Conditions- ((Attacking unit) is A Hero) Equal to True
Actions- Unit- Set mana of (Triggering Unit) to ((Mana of Triggering Unit)) +10.0
i can make them get mana with the attack, any suggestion of how 2 get mana if they cast an ability (the ability must hit some1)..
ty...
 

Zemeio!

Cool Member
Reaction score
1
next question.. i wanna know how 2 make something like a skill chooser (where u choose the hero skill), like a second 1, where i can choose dif skills and spend dif points, controled by variable, like an interger called Skill Points or something. sry, hard 2 explain.. i hope u can help me (plz), ty a lot for all this help...
 

Rinpun

Ex TH Member
Reaction score
105
For an ability, I'd like to say just change a unit is attacked to a unit dies and the attacking unit to the killing unit. Therefore, you only get mana when you kill someone and you can accomplish that with either an ability or attacking.

But if you want to take the other way to get exactly what you want, make a trigger for if a unit FINISHES casting an ability. In the conditions put an Or - Multiple Conditions and put (Ability being cast) Equal to Ability1, and put one down for every Ability you have that you want to get mana. In the actions you can just simply add 10 mana to the caster.

-----------------

Just make use of the "Hero - Learn Skill" is all I'm going to say. I'm feeling lazy now :D
 
B

bobert

Guest
very good

change maximum and minimum damage too 100(all i no)
and u spek english pretty good
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top