Skip to content

Commit 16374c5

Browse files
authored
Update UjAPI v1.1.30.300.txt
1 parent 92cda51 commit 16374c5

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed
Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
1. Fixed GetUnitWeaponStringField not working with UNIT_WEAPON_SF_ATTACK_PROJECTILE_ART.
2-
2. Fixed fatal error when a clone was made from a unit that has no inventory by default.
3-
3. Fixed GetTriggerFrameMouseButton returning value that is 1 less than it should be.
4-
4. Removed CUnit::Clone hook, this was causing a crash/desync and other issues for some players.
5-
5. CAbilityItemIllusion fully rewritten, now it supports > 6 items without aforementioned hook.
6-
6. CAbilityMirrorImage fully rewritten, now it supports > 6 items without aforementioned hook.
7-
7. Fixed GetEventIsAttack/Ex returning wrong values.
8-
8. Fixed GetEventDamageType returning wrong values.
9-
9. Fixed GetEventPreDamage returning wrong values.
10-
10. Fixed whosyourdaddy cheat damage modifier.
11-
11. Fixed SetItemX/Y/Z restoring previous axis if used right after another.
1+
1. New Natives:
2+
native GetUnitItem takes unit whichUnit, integer itemTypeId returns item
3+
native GetUnitItemEx takes unit whichUnit, integer itemTypeId, integer index returns item
4+
2. Fixed GetUnitWeaponStringField not working with UNIT_WEAPON_SF_ATTACK_PROJECTILE_ART.
5+
3. Fixed fatal error when a clone was made from a unit that has no inventory by default.
6+
4. Fixed GetTriggerFrameMouseButton returning value that is 1 less than it should be.
7+
5. Removed CUnit::Clone hook, this was causing a crash/desync and other issues for some players.
8+
6. CAbilityItemIllusion fully rewritten, now it supports > 6 items without aforementioned hook.
9+
7. CAbilityMirrorImage fully rewritten, now it supports > 6 items without aforementioned hook.
10+
8. Fixed GetEventIsAttack/Ex returning wrong values.
11+
9. Fixed GetEventDamageType returning wrong values.
12+
10. Fixed GetEventPreDamage returning wrong values.
13+
11. Fixed whosyourdaddy cheat damage modifier.
14+
12. Fixed SetItemX/Y/Z restoring previous axis if used right after another.
1215
Note: this bug is new and unrelated to Vanilla.
13-
12. Fixed SetDestructableX/Y/Z issue, which is same as #11.
14-
13. Fixed fatal error from IsAbilityUsable.
15-
14. Fixed fatal error from IsSubmenuOpen.
16-
15. Fixed OnDeath processing of CAbilityInventory, now it properly drops items that have Drop on Death flag or if inventory itself has Drop on Death flag.
16+
13. Fixed SetDestructableX/Y/Z issue, which is same as #11.
17+
14. Fixed fatal error from IsAbilityUsable.
18+
15. Fixed fatal error from IsSubmenuOpen.
19+
16. Fixed OnDeath processing of CAbilityInventory, now it properly drops items that have Drop on Death flag or if inventory itself has Drop on Death flag.

0 commit comments

Comments
 (0)