8 years
edited 8 years
Hi everyone:
With the new patch 1.29 implemented on WC3 PTR, there's more than 60 new jass functions that needs to be tested and documented for bugs and features. So I prepared this topic to talk about each functions made in the new WC3 engine.
Here's the list:
The idea is to make a testmap for each message that shows how this code works. If you want to join in the processs, just reply this thread with a tesmap and I'll link it in the first post.
With the new patch 1.29 implemented on WC3 PTR, there's more than 60 new jass functions that needs to be tested and documented for bugs and features. So I prepared this topic to talk about each functions made in the new WC3 engine.
Here's the list:
1 DecPlayerTechResearched; takes player whichPlayer, integer techid, integer levels returns nothing // Opposite to IncPlayerTechResearched
2 DeleteHeroAbility; takes unit whichUnit, integer abilCode returns nothing // Remove Hero Ability
3 DeleteHeroAbility; takes unit whichUnit, integer abilCode returns nothing // Remove Hero Ability
4 GetAbilityCooldowntakes; integer abilId, integer level returns real
5 GetAbilityIcon; takes integer abilCode, integer level returns string
6 GetAbilityManaCosttakes; integer abilId, integer level returns integer
7 GetAbilityPosX; takes integer abilCode returns integer // Icon Position
8 GetAbilityPosY; takes integer abilCode returns integer
9 GetAbilityResearchTooltip; takes integer abilCode, integer level returns string
10 GetAbilityResearchExtendedTooltip; takes integer abilCode, integer level returns string
11 GetAbilityTooltip; takes integer abilCode, integer level returns string
12 GetAbilityExtendedTooltip; takes integer abilCode, integer level returns string
13 GetAbilityOnIcon; takes integer abilCode returns string // "OnIcon is the icon for these auto-castable ablities when they're turned on"
14 GetAbilityOnPosX; takes integer abilCode returns integer
15 GetAbilityOnPosY; takes integer abilCode returns integer
16 GetAbilityOnTooltip; takes integer abilCode, integer level returns string
17 GetAbilityOnUberTooltip; takes integer abilCode, integer level returns string
18 GetItemIconPath; takes item whichItem returns string
19 GetItemTooltip; takes item whichItem returns string
20 GetItemExtendedTooltip; takes item whichItem returns string
21 GetLocalSpecialEffectX; takes effect whichEffect returns real
22 GetLocalSpecialEffectY; takes effect whichEffect returns real
23 GetLocalSpecialEffectZ; takes effect whichEffect returns real
24 GetLocalUnitZ; takes unit whichUnit returns real
25 GetTriggerPlayerMouseButton; takes nothing returns mousebuttontype
26 GetTriggerPlayerMousePosition; takes nothing returns location
27 GetTriggerPlayerMouseX; takes nothing returns real
28 GetTriggerPlayerMouseY; takes nothing returns real
29 GetUnitAbilityCooldown; takes unit whichUnit, integer abilId, integer level returns real
30 GetUnitAbilityCooldownRemaining; takes unit whichUnit, integer abilId returns real
31 GetUnitAbilityManaCost; takes unit whichUnit, integer abilId, integer level returns integer
32 GetUnitArmor; takes unit returns real
33 GetUnitAttackCooldown; takes unit whichUnit, integer weaponIndex returns real
34 GetUnitBaseDamage; takes unit whichUnit, integer weaponIndex returns integer
35 GetUnitCollisionSize; takes unit whichUnit returns real
36 GetUnitDiceNumber; takes unit whichUnit, integer weaponIndex returns integer
37 GetUnitDiceSides; takes unit whichUnit, integer weaponIndex returns integer
38 IsUnitInvulnerable; takes unit whichUnit returns boolean
39 IsUnitSelectable; takes unit whichUnit returns boolean
40 PlaySpecialEffect; takes effect whichEffect, integer anim returns nothing
41 SetEventDamage; takes real damage returns nothing // Modify EVENT_UNIT_DAMAGED event damage
42 SetHeroProperName; takes unit whichUnit, string name returns nothing
43 SetSpecialEffectAlpha; takes effect whichEffect, integer alpha returns nothing
44 SetSpecialEffectColor; takes effect whichEffect, integer r, integer g, integer b returns nothing
45 SetSpecialEffectColorByPlayer; takes effect whichEffect, player whichPlayer returns nothing
46 SetSpecialEffectPosition; takes effect whichEffect, real x, real y, real z returns nothing
47 SetSpecialEffectPositionLoc; takes effect whichEffect, location loc returns nothing
48 SetSpecialEffectOrientation; takes effect whichEffect, real yaw, real pitch, real roll returns nothing
49 SetSpecialEffectPitch; takes effect whichEffect, real pitch returns nothing
50 SetSpecialEffectRoll; takes effect whichEffect, real roll returns nothing
51 SetSpecialEffectTime; takes effect whichEffect, real time returns nothing // Think this won't solve the leak problem
52 SetSpecialEffectTimeScale; takes effect whichEffect, real timeScale returns nothing
53 SetSpecialEffectX; takes effect whichEffect, real x returns nothing
54 SetSpecialEffectY; takes effect whichEffect, real y returns nothing
55 SetSpecialEffectYaw; takes effect whichEffect, real yaw returns nothing
56 SetSpecialEffectZ; takes effect whichEffect, real z returns nothing
57 SetUnitAbilityCooldown; takes unit whichUnit, integer abilId, integer level, real cooldown returns nothing // Set ability cooldown for this specific unit
58 SetUnitArmor; takes unit whichUnit, real armorAmount returns nothing
59 SetUnitAttackCooldown; takes unit whichUnit, real cooldown, integer weaponIndex returns nothing // Set all future attack cooldown for this specific unit
60 SetUnitBaseDamage; takes unit whichUnit, integer baseDamage, integer weaponIndex returns nothing
61 SetUnitDiceNumber; takes unit whichUnit, integer diceNumber, integer weaponIndex returns nothing
62 SetUnitDiceSides; takes unit whichUnit, integer diceSides, integer weaponIndex returns nothing
63 SetUnitName; takes unit whichUnit, string name returns nothing
64 UnitCancelTimedLife; takes unit whichUnit returns nothing
65 UnitDisableAbility; takes unit whichUnit, integer abilId, boolean flag, boolean hideUI returns nothing
66 EndUnitAbilityCooldown; takes unit whichUnit, integer abilCode returns nothing // Finish cooldown for this ability for this unit
67 UnitHideAbility; takes unit whichUnit, integer abilId, boolean flag returns nothing
68 UnitInterruptAttack; takes unit whichUnit returns nothing
The idea is to make a testmap for each message that shows how this code works. If you want to join in the processs, just reply this thread with a tesmap and I'll link it in the first post.