BlzGetUnitBaseDamage()
returns base damage with green bonus. Watch
this post.
If you need white value, you should use this code.
call BlzGetUnitWeaponIntegerField(unit, UNIT_WEAPON_IF_ATTACK_DAMAGE_BASE, 0)
That's pretty cool, do you know if there is a GUI-like function for that? I do find the Base Damage depending on the weapon index, which is probably the BlzGetUnitWeaponIntegerField. However i can't find the other one
What's the point of using other language's characters and seeing them if no one can understand? If only with a translator...
Afaik having a different language like chinese or russian means to load a complete different Wc3-Client. Just being able to use other chars doesn't mean the game intends you (The Player) to understand it (in my map for example) It just looks cool/different. For Maps like Naruto Castle Defence (chinese version) it would already help to see them, so that the whole formatting for the Tooltips isn't filled with lots of blanks.
Here are my next feature suggestions:
- GUI: Usually the "Load from Hashtable"-Function is at the top of the list, well except for Boolean. I'm not sure why, but it's kinda odd for that function to be somewhere in the middle of the list.
- (GUI) It would be cool to have a way to change the Techtree Requirements of an ability in Real-Time. You can change a lot of things, but i didn't find a value for that. 'areq'
- GUI: If you check the variable list, you can search for variables easily by typing the variable name. However that does not work, if you want to select a variable in an action. You can only search for the first letter. Further button presses overwrite the first letter you're searching for.
- Spellbook: If you have a Unit with Spellbook, which uses a spell that will Trigger-Pause & Unpause the unit, the UI interface is empty when trying to GUI-Select any unit. Only solution right now: Force-Press Esc for the Owner of the Unit or manual doubleclick something in the map. (
Weird Selection Bug using Channel+Spellbook) It would be great to have a force deselect that can get you out of the Spellbook UI and the Unit UI, or a function to exit out of the spellbook UI for a Player.
- UI Refresh. It would be great to have a way to refresh the current UI. If you change the mana cost of an ability, when it's used, the UI doesn't update in Realtime. The only way to "force" it, is to issue an order, like Stop. It destroys the rhythm of the spell, if your following actions are sometimes forced to stop.
That's it for now. I guess i'll go and search for more things, that could be improved. Long live the GUI Users! (which use a few self written functions and stuff)