Warcraft III resources & community, 2003–2006 · archived

Drunken Brawler Mod

not rated
Submitted by weaaddarSystems192 downloads20 KB
Screenshot
Screenshot
This map test the Drunken Brawler mod. Drunken Brawler mod is a system that allows you to level up only certain stats of a spell like Drunken Brawler

Input is taken in this format:

EE DD RR

where e=Evasion rate D=damage rate and R=CS rate
File Name
dbmod.w3x
Author
weaaddar
Download

Comments

7
You said it yourself, it's a system! Moved to systems cattegory!

~Daelin
I fixed it...it now updates always. I also made it work with stat levels more than 3.
Master GT4 Yeah, no. That's nice and complex. Like most of my systems, I like this nice and easy. So I found a nice and easy solution that required a whoping two lines of additional code.

	call UnitRemoveAbility(hero,IDFP() )
	call UnitAddAbility(hero,IDFP() )


The tooltips update, nothing is wrong. It looks gold to me. Time to add another 3 stats to the many things that DT4a's EITEMs can modify without too much external thinking about.
If it doesn't work instantly, you can just add it to the trigger, something like:
set (GroupVariable) = Current selection of (triggering player, owner of triggering unit, or what ever the event is in the map)
deselect all units for (the player^^)
for each integer from 1 to (number of units in (GroupVariable)) do add unit to current selection of player
set (groupvariable) = null

Just a thought, should be pretty easily to do, and no, these aren't totally the same as in editor, I just wanted to tell you the basics... And I also know your script is in Jass, but since I never needed to do selection things in my (jass) spells I don't know the function names...
It works it just doesn't always update instantly. Add a unit to the test map, and select him and select back it should update. I found it will always update if you cahnge the tip each level, but having a number like level is quite meaningless in this case.

I Uploaded a new version should fix the bug with me forgetting that it was A000 in this map and A002 like it is in my other map.
The system itself is nice, not really hard but as good as it can be, however the tooltip doesn't work(You forgot changing rawcode of ability in tooltip, but changed it didn't seem to work for me, too.(I misstyped something or there's a bug with SetAbilityLevel)).
Engineering Upgrade is bad as explained in my map:

My map said so and so because it is a smarty map
Whyy this over Engineering Ability:
==================================
Engineering Ability can be used as a way to modulate stats by using multiple copy abilities. Beside being a buggy ability it also actually
literally changes the ability! This is fine for the ability chosing dialogue pain, but for code that activates based on an ability or works from
external storage (ala DT4a ) this can be very disasterous. It would require you to have to detect all alternates of the ability if your code for
instance is based on the level of an ability.
Also you will do roughly an equal amount of work but it may be easier in Engineering Upgrade.
DBMod will still require you to modify your code, but it can be quite an easier modulation and does not have to worry about alternate copies of abilites
It sounds like a real neat thing with EU from the description. Testing tomorrow