HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can anybody UNLEARN an upgrade?

07-21-2003, 03:31 AM#1
Bilouxi
This will probably require JASS custom script, but I would *really* appreciate the script to unlearn an upgrade. If it doesn't require JASS, I'd also be happy to know a easy way =)
07-21-2003, 03:36 AM#2
Lt247
first u quit wc3 then ur estart map and Walah! no more upgrade and u can relearn it.

just asking why would u want ot unlearn it??
07-21-2003, 03:37 AM#3
BladeBezerker
Try making a custom ability of the tome of retraining, might work.
07-21-2003, 03:50 AM#4
Bilouxi
Quote:
Originally posted by Bilouxi
This will probably require JASS custom script, but I would *really* appreciate the script to unlearn an upgrade. If it doesn't require JASS, I'd also be happy to know a easy way =)


We're working on a pretty big RPG and want damage to be mainly a result of what weapons you have. This is necessary because many spells like roar and feedback only work on BASE damage, plus it allows use of more variable damage. The problem is, I can't make it UNLEARN the upgrade that gives extra damage when the hero drops the weapon.

Example: Hero picks up sword, gains 10 bonus damage from attack damage upgrade lvl 1. He then drops the sword, but there are no triggers capable of UNLEARNING the upgrade, so the damage stays.
07-21-2003, 04:02 AM#5
qmrcool
well thats a problem becuz then i hero could just drop a sword and then pick it up a billion times and have like a trillion damage
07-21-2003, 04:19 AM#6
Bilouxi
Quote:
Originally posted by qmrcool
well thats a problem becuz then i hero could just drop a sword and then pick it up a billion times and have like a trillion damage


Not really, it would just mean they keep the largest weapon's damage until they get a bigger one. It assigns the upgrade level depending on the item, so it doesnt keep upgrading every time you pick it up.

So...does anybody know how to do this?
07-21-2003, 05:34 AM#7
kharma
You duplicate the upgrade, yet instead of giving positive results you make it negative, therefore effectively creating a 'downgrade' ability. Whenever they pick up your sword, the upgrade to give +10 damage is researched. Whenever they drop the sword, the upgrade that gives -10 damage is given.

~kharma
07-21-2003, 05:53 AM#8
Bilouxi
Quote:
Originally posted by kharma
You duplicate the upgrade, yet instead of giving positive results you make it negative, therefore effectively creating a 'downgrade' ability. Whenever they pick up your sword, the upgrade to give +10 damage is researched. Whenever they drop the sword, the upgrade that gives -10 damage is given.

~kharma


Problem is, that only works a few times. I'm looking for a more functional solution (actually setting the upgrade back to lvl 0)
07-21-2003, 06:08 AM#9
Cronanius
ya i know how to. gimme a min and ill figure it out 4 u.
07-21-2003, 06:15 AM#10
Crimsongg137
i dont get wut ur tryin to say
07-21-2003, 06:20 AM#11
Cronanius
okay i got it. i have no idea what kinda events and conditions ur gonna have 4 it, but if u need help with those too, pm me.

but this is the action:
[You may wish to pick a player group or a player]
Player - Set Current Research Level

--Set the current research level of <tech> to <this can be a straight interger, like 0, or it can be set to <current research level of <tech> -1>> for <Player(s)>
07-21-2003, 06:30 AM#12
kharma
Why does it only work a few times? You can set the number of upgrades to 1000, therefore allowing it to work 1000 times. I'd say that's fairly functional :P.
Quote:
okay i got it. i have no idea what kinda events and conditions ur gonna have 4 it, but if u need help with those too, pm me.

but this is the action:
[You may wish to pick a player group or a player]
Player - Set Current Research Level

--Set the current research level of <tech> to <this can be a straight interger, like 0, or it can be set to <current research level of <tech> -1>> for <Player(s)>
That method does not work and has not worked since RoC. The triggers to not allow you to set an upgrade to a lower level then it already is. It's annoying and frustating I know, but for one reason or another Blizzard decided that you can't downforce an upgrade. While the trigger will actually fire, it won't register the changes ingame.

~kharma
07-21-2003, 06:35 AM#13
Cronanius
R U sure about that kharma? If thats so its a bug and should get fixed. emote_sweat
07-21-2003, 06:37 AM#14
Crimsongg137
thats bs theres gotta be a way
by the way wtf are u tryin to do make a upgrade downgrade. it could be posible but idono if this mite work or u can call me stupid. if u had aw man forget it im to tired.
07-21-2003, 07:43 AM#15
Bilouxi
I didn't want to use massive upgrades (100+ levels) because they make the map take a LONG time to load (especially since I'll have to have lots of them). As for WHY I need this, as I explained above, I'm using it to add damage to a unit that picks up weapon items. It's a much better way to make weapon damages because it allows roar and percentage damage enhancers to work properly on the additional damage. Now if just I could reset it back to level 0 when the weapon is removed.