HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Stat boosting ability

05-25-2004, 04:15 AM#1
ShadoW PhoeniX
have any of you played enfos where the weapon smith can boots his dmg with a stat over and over not like atribut bonus but it keeps adding how could i do that with stats?
05-25-2004, 05:10 AM#2
JJ912
When the unit starts the effect of an ability give it a tome with triggers.
05-25-2004, 07:33 AM#3
Nirual
yep, its definitely triggered in that way
05-25-2004, 09:58 AM#4
Anitarf
I think there is also a way to change the stats directly with triggers, but I see no reason why the way with tomes couldn't work as well.
05-25-2004, 12:46 PM#5
DaKaN
Hero - Set Hero Stat

you can alter it directly, no items needed
05-25-2004, 03:08 PM#6
ShadoW PhoeniX
Quote:
Originally Posted by DaKaN
Hero - Set Hero Stat

you can alter it directly, no items needed


thanks that was kinda more of what i was look for than tomes :/

but what would be the event i look for one right now but i dont see it like

event
Unit - Uses spell on whoever

action
unit - hero set stat


or am i doin it wrong?
and i need to do it for multiple levels sorry i ask so much but i am new with triggers i really good with terrain :/
05-25-2004, 03:22 PM#7
DaKaN
th event depends on how you are doing this, are they going to be casting an ability onto somebody, are they going to be buying an item, a unit, how are you going to do it?
05-25-2004, 06:01 PM#8
ShadoW PhoeniX
Ok its gonna be a ability casted on a hero. somewhat of a support skill for my ctf map :/


EDIT: does anyone know where i can find a multiboard tutorial.

EDIT2: and a tutorial on game options like the game setting in enfos and the town in wow with the job stuff?
05-25-2004, 06:10 PM#9
JJ912
For the spell you can do:
Code:
Ability Bonus Spell
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Strength Bonus Spell
    Actions
        Hero - Create Tome of Strength +2 and give it to (Target unit of ability being cast)
or
Code:
Alt Ability Bonus Spell
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Alternate Strength Bonus
    Actions
        Hero - Modify Strength of (Target unit of ability being cast): Add 2
Edit: For tutorials on multiboards, if there arent any in the tutorials section here I know theres a few threads about multiboards that may contain some info. For tutorials on how enfo did his start-up options search for threads on dialog buttons and difficulty settings.
05-25-2004, 06:14 PM#10
ShadoW PhoeniX
holy that was fast r u god by chance? justy kiddin

anyone know about multiboards and options?
05-25-2004, 06:18 PM#11
JJ912
I tried to post after you posted before, then edited when I saw you edited it. So check again but dont come back so quick, Im too slow :>
05-25-2004, 06:20 PM#12
ShadoW PhoeniX
how would i do that trigger for multiple skill levels?what would i change i am really uber noobish at triggers

what should i base the triggering spell off of cause i dont know what to use :(

ok this is what i got so far is this good :/ i tried to find ur even and couldnt

Event:
Unit - A unit owned by Player 1 (Red) Begins casting an ability
Conditions:
(Ability being cast) Equal to (==) Shadow Mastering
Action:
Hero - Modify Strength of (Casting unit): Add 8
Hero - Modify Agility of (Casting unit): Add 10
Hero - Modify Intelligence of (Casting unit): Add 6
05-25-2004, 06:54 PM#13
JJ912
Code:
Random Trig
    Events
        Unit - A unit Starts the effect of an ability //<---- Thats a Generic unit event. Look for "Starts the effect of an ability".
    Conditions
        (Ability being cast) Equal to Attribute Bonus
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Attribute Bonus for (Casting unit)) Equal to 1 //<---Thats an integer comparison
            Then - Actions
                 //Increase the targets stats here
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Level of Attribute Bonus for (Casting unit)) Equal to 2
                    Then - Actions
                        //Increase the targets stats for the spells level 2 bonus here
                    Else - Actions
                            //Keep going with the If/Then/Elses for each level of the ability
05-25-2004, 07:09 PM#14
ShadoW PhoeniX
is there a way where i can find this stuff ez cause i cant find alot of it :/

like a jass program or sumthing
05-25-2004, 11:55 PM#15
JJ912
All that stuffs copied directly from an actual GUI trigger and pasted in here(well, besides the comments). Theres a search bar when youre looking through events, conditions, or actions that you can use to find the specific actions if I wasnt clear enough.