| 01-31-2005, 03:42 AM | #1 |
Plz is there a way to make an hability that turns hero attack type to chaos??? |
| 02-05-2005, 01:02 PM | #2 | |
Quote:
when activate your normal hero is switched with your chaos hero.... But with that you need to make 2 units for each units who will use this ability You can do that with trigger and unit editor |
| 02-05-2005, 04:36 PM | #3 | |
Quote:
yeah I did that, but I thought that there was a way to do it with jass ot trigger using just one base unit. tnkz anyway |
| 02-05-2005, 04:55 PM | #4 | |
Quote:
|
| 02-05-2005, 05:52 PM | #5 |
Orb of Lightning (new) enables attacks but I don't know if it disables. |
| 02-05-2005, 11:05 PM | #6 | |
Quote:
That would do it but we r talking bout a hero hability...im not sure but is there any trigger to augment damage? u see im very noob to world editor :( guess my best choise is the dummy unit(in this case 3 dummies, 3 habilitie levels). And is there a way to change the effect of the orb of lighting to chaos??? |
| 07-09-2005, 06:23 PM | #7 |
Hey I don't know how they did it in RoC (I mean blizzard team) But you could use the trigger they used for Illidan when he changed into demon form. I mean, when Illidan killed Shrine, he changed PERMANENTLY into demon. Event Unit - Unit learns skill Conditions Learned skill equal to YourSkill Im sorry but don't know the action. Someone wiser than me figure it there. |
| 07-09-2005, 06:35 PM | #8 |
if its temporary you can just use metamorphosis.. or even set it to a duration of 3600.. or maybe through upgrades. |
| 07-09-2005, 06:55 PM | #9 |
Guest | dudes it easy to do through jass... i will show you Code:
set BJ_UnitDamageType,(your unit that is chaging) "then the damage type" list of damage types: Magic damage: DAMAGE_TYPE_FIRE DAMAGE_TYPE_COLD DAMAGE_TYPE_LIGHTNING DAMAGE_TYPE_DIVINE DAMAGE_TYPE_MAGIC DAMAGE_TYPE_SONIC DAMAGE_TYPE_FORCE DAMAGE_TYPE_DEATH DAMAGE_TYPE_MIND DAMAGE_TYPE_PLANT DAMAGE_TYPE_DEFENSIVE DAMAGE_TYPE_SPIRIT_LINK DAMAGE_TYPE_SHADOW_STRIKE Physical Damage: DAMAGE_TYPE_NORMAL DAMAGE_TYPE_ENHANCED DAMAGE_TYPE_POISON DAMAGE_TYPE_DISEASE DAMAGE_TYPE_ACID DAMAGE_TYPE_DEMOLITION DAMAGE_TYPE_SLOW_POISON Universal Damage: DAMAGE_TYPE_UNKNOWN DAMAGE_TYPE_UNIVERSAL E.G : Code: set BJ_UnitDamageType,paladin,DAMAGE_TYPE_ACID "Note" - make sure your damage types are in higher case and with underscore _ between all words btw dunno if this will work... just testing it out.. Damage types for vex's caster map |
| 07-13-2005, 10:18 AM | #10 |
Oh come on now do you really think thats going to work... |
| 07-13-2005, 05:14 PM | #11 | |
Quote:
But I also think this is a bunch of mumbo jumbo, generaly, most things you set in the object editor for units, things that can't be altered by spells, also can't be altered by triggers. So, you can change a unit's movement speed, but you can't change it's attack type. I would agree with those who said you should use the hero's second attack or an alternate version of the hero. |
| 07-13-2005, 10:33 PM | #12 | ||
Quote:
Jass Shop Pro in my sig :P Quote:
Where did you get that from? |
| 07-16-2005, 01:32 AM | #13 |
Sorry for posting this in an already used thread, but I currently can't make threads due to the forum bugs. Can anyone tell me what's wrong with these JASS scripts? Code:
//*************************************************************************** //* //* Global Variables //* //*************************************************************************** globals // User-defined string udg_playername unit udg_hero = null // Generated trigger gg_trg_Localized_Chat_Init = null trigger gg_trg_Localized_Chat_Unit = null trigger gg_trg_Localized_Chat = null trigger gg_trg_Show_Variables = null endglobals function InitGlobals takes nothing returns nothing set udg_playername = "" endfunction function Trig_Localized_Chat_Actions takes nothing returns nothing local player udg_playername local unit udg_hero [color=red][color=red] call CreateTextTagUnitBJ( ( udg_playername + ( "Says" + GetEventPlayerChatString() ) ), udg_hero, 0, 10, 100, 100, 100, 0 )[/color] [/color]endfunction //=========================================================================== function InitTrig_Localized_Chat takes nothing returns nothing set gg_trg_Localized_Chat = CreateTrigger( ) call TriggerRegisterPlayerChatEvent( gg_trg_Localized_Chat, GetLocalPlayer(), "", false ) call TriggerAddAction( gg_trg_Localized_Chat, function Trig_Localized_Chat_Actions ) endfunction AND trigger gg_trg_Show_Variables = null endglobals function InitGlobals takes nothing returns nothing set udg_playername = "" endfunction function Trig_Show_Variables_Actions takes nothing returns nothing local player udg_playername local unit udg_hero [color=red] call DisplayTextToPlayer( GetTriggerPlayer(), 0, 0, ( udg_playername + UnitId2StringBJ(GetUnitTypeId(udg_hero)) ) )[/color] endfunction //=========================================================================== function InitTrig_Show_Variables takes nothing returns nothing set gg_trg_Show_Variables = CreateTrigger( ) call TriggerRegisterPlayerChatEvent( gg_trg_Show_Variables, GetLocalPlayer(), "-sv", true ) call TriggerAddAction( gg_trg_Show_Variables, function Trig_Show_Variables_Actions ) endfunction The ones in red are the ones that WE says have errors. |
| 07-18-2005, 10:01 PM | #14 |
Guest | lol it looked like it dident look right, it dosent even work lol, somebody stupid told me that it would work but it oviously dosent, anyways i got the damage types from launching projectiles :D , well i dont think i should have done that... crazy idea :\ O well, :( |
| 07-18-2005, 10:13 PM | #15 |
I use notepad + extracted latest blizzard.j - common.j |
