Warcraft III: MapsModelsSkinsIconsSpellsToolsTutorials
WC3 JASS: Code SnippetsJASS and vJASS Spells and SystemsJass Tutorials
Chat @Discord

vJASS & Zinc Documentation
For the latest documentation about how it works vJASS and Zinc language layers for Warcraft III, please follow these links:
Jasshelper documentation - Zinc documentation - WC3 Optimizer documentation

Author Topic: Patch 1.29 new natives: a testing place  (Read 834 times)

  • Site Owner
  • Administrator
  • Starter - level 4
  • *
  • Posts: 958
  • WC3 Models: 59
  • WC3 Tutorials: 13
  • WC3 Tools: 15
  • WC3 Maps: 12
  • WC3 Skins: 6
  • WC3 Icons: 2
  • WC3 Spells: 15
  • Reputation: 1153
  • Site Admin - I love fix things
    • View Profile
    • Blizzard Modding Information Center
Patch 1.29 new natives: a testing place
« on: February 25, 2018, 10:35:35 PM »
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:
Code: jass  [Select]
  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.
« Last Edit: February 25, 2018, 10:49:09 PM by moyack »

We can give you full hosting for your projects, a complete page!!

A custom altered melee map where you can play Naga and Demons. Check it out!!
Use Dropbox...

  • Lurker - level 1
  • *
  • Posts: 1
  • WC3 Models: 0
  • WC3 Tutorials: 0
  • WC3 Tools: 0
  • WC3 Maps: 0
  • WC3 Skins: 0
  • WC3 Icons: 0
  • WC3 Spells: 0
  • Reputation: 0
  • User
    • View Profile
Re: Patch 1.29 new natives: a testing place
« Reply #1 on: June 05, 2018, 04:00:42 PM »
Hello,

SetSpecialEffectYaw does not work. I can confirm this.
« Last Edit: June 11, 2018, 07:29:36 AM by moyack »

  • Site Owner
  • Administrator
  • Starter - level 4
  • *
  • Posts: 958
  • WC3 Models: 59
  • WC3 Tutorials: 13
  • WC3 Tools: 15
  • WC3 Maps: 12
  • WC3 Skins: 6
  • WC3 Icons: 2
  • WC3 Spells: 15
  • Reputation: 1153
  • Site Admin - I love fix things
    • View Profile
    • Blizzard Modding Information Center
Re: Patch 1.29 new natives: a testing place
« Reply #2 on: June 11, 2018, 07:30:55 AM »
Hmmm, I need to test it too. How did you test it?

We can give you full hosting for your projects, a complete page!!

A custom altered melee map where you can play Naga and Demons. Check it out!!
Use Dropbox...

 

Jass Newgen Pack 2.0 Alpha - Recruiting for testing

Started by moyackBoard General Help and WC3 Discussion

Replies: 84
Views: 49592
Last post July 17, 2013, 09:37:47 AM
by moyack
Code highlightning testing thread

Started by moyackBoard Tavern

Replies: 1
Views: 7048
Last post December 29, 2011, 05:27:48 PM
by moyack
Jetscript BBcode testing

Started by moyackBoard JetScript

Replies: 5
Views: 7987
Last post August 02, 2013, 01:04:44 PM
by moyack
BBcode testing

Started by moyackBoard Tavern

Replies: 1
Views: 7508
Last post December 26, 2010, 08:17:25 PM
by moyack
The Jass NewGen Pack (JNGP) 2.0 vs Warcraft III's patch 1.27a

Started by ApelliBoard General Help and WC3 Discussion

Replies: 9
Views: 6214
Last post March 21, 2016, 06:32:55 AM
by LembidiZ
Blizzard Modding Information Center Wacraft III Modding Information Center WC3JASS.com - The JASS Vault Chronicles of Darkness - A Warcraft III mod Jetcraft - A Starcraft II mod Troll Smash - A Warcraft III Arena Starcraft II Modding Information Center
  Mod DB - Change the Game Power of Corruption - A Warcraft III altered melee map Chaos Realm - The world of Game modders and wc3 addicts Follow us on Facebook!!