Commit Graph

19 Commits

Author SHA1 Message Date
davidfvsilva
700af20844 fix: act 5 barbarians are good boys (#75) 2025-02-17 21:07:46 +09:00
elb
2eeee0cf1f Npc/Monsters Mode and Portals destination + optimization (#49)
* Added States for monsters and corpses

Now can properly identify if a corpse is interactable with a skill ( barbarian, necromancer)
Also getting states about monsters  : Exemple  Soul Killer with Conviction aura:   State  28 // conviction

Also can tell if monster has a state after you used a skill on it  Exemple:   State 56  Terror ( After using Barbarian skill Howl to fear )

Another Exemple  using Grief on Mephistos he now have  states :    2 poison
    52  Preventheal

will be very useful for further development.

* Added modes to player

Now accessible in koolo using : s.data.PlayerUnit.Mode

Those are Modes for player:
const Death: 0;
        const StandingOutsideTown: 1;
        const Walking: 2;
        const Running: 3;
        const GettingHit: 4;
        const StandingInTown: 5;
        const WalkingInTown: 6;
        const Attacking1: 7;
        const Attacking2: 8;
        const Blocking: 9;
        const CastingSkill: 10;
        const ThrowingItem: 11;
        const Kicking: 12;
        const UsingSkill1: 13;
        const UsingSkill2: 14;
        const UsingSkill3: 15;
        const UsingSkill4: 16;
        const Dead: 17;
        const SkillActionSequence: 18;
        const KnockedBack: 19;

* update Added alias(const) for player modes

can be used like this s.data.PlayerUnit.Mode == mode.StandingInTown

* added modes to object

0 = Object idle
1 = Object operating
2 = Object opened
3 = Object special 1    ?? to be determined what it does exactly
4 = Object special 2    ?? to be determined what it does exactly
5 = Object special 3    ?? to be determined what it does exactly
6 = Object special 4    ?? to be determined what it does exactly
7 = Object special 5    ?? to be determined what it does exactly

* update object mode strings

* Update object_mode.go

* Update object_mode.go

* update object modes again. accurate now

* Added IsSealBoss()  for Chaos Run

* Npc/Monster Modes and Portals destination
also IsEscapingType()  Monster cannot be attacked when airborne or hide in water (NpcMode 8)

* Npc/Monster Modes and Portals destination
also IsEscapingType()  Monster cannot be attacked when airborne or hide in water (NpcMode 8)

* Optimized monsters.go and object.go
also catapults have been added to ignore list

* Tz Frigid Higland ingores added
2024-12-01 22:54:57 +09:00
Héctor Giménez
b2c710dc5c fix necro revive and proper locate items from cube 2024-11-07 21:56:02 +09:00
Héctor Giménez
c699e0c53a add decoy and necro revives as pet 2024-11-06 21:48:43 +09:00
elb
9020cc396e Added States for monsters and corpses (#43) 2024-09-29 20:32:19 +09:00
SoundsLegit
3d4b0bc7a4 Added pet exclusions (#21)
* Added pet exclusions

* Added druid creepers to pets

---------

Co-authored-by: dmeli <d.melia@outlook.fr>
2024-06-25 15:45:29 +03:00
Héctor Giménez
db8fc7d6db D2Data and Quest data (#9) 2024-02-02 20:19:44 +09:00
Jai
c32e8d6ae1 Fixed incorrect calculation of mana percentage (#6)
* Fixed incorrect calculation of mana percentage

* Check for some monsters that need to be skipped

* Fixed incorrect values when not a pointer function

Co-authored-by: Héctor Giménez <hector.fwbz@gmail.com>

---------

Co-authored-by: Héctor Giménez <hector.fwbz@gmail.com>
2023-12-02 16:20:20 +09:00
Héctor Giménez
8ae0eb55c2 handle act 1/3/5 mercs (#5) 2023-10-24 22:29:49 +09:00
Héctor Giménez
14ca6ddbf0 add immunity checks 2023-10-16 21:41:53 +09:00
Héctor Giménez
4a74a310ed exclude act5 barbarians as enemies 2023-09-12 21:41:40 +09:00
Héctor Giménez
d2d954a65a exclude BaalTaunt as enemy 2023-09-07 22:38:51 +09:00
Héctor Giménez
1c8aab1580 Item refactor and more (#1) 2023-08-18 22:33:54 +09:00
Héctor Giménez
8a0f82511e check if monster is elite or above 2023-05-19 16:29:51 +09:00
Héctor Giménez
cb7d2e5a34 new function to check if monster is able to summon new monsters 2023-05-13 20:09:11 +09:00
Héctor Giménez
d1017bea61 skip good npcs from monster enemy list 2023-05-13 15:09:12 +09:00
Héctor Giménez
04c30b2fe8 Add layers on stats and small refactor 2023-03-13 21:28:12 +09:00
Héctor Giménez
dde3cd19b0 Add some memory reading stuff, based on many other open source projects 2023-03-11 22:08:18 +09:00
Héctor Giménez
8600c2e2f6 Add data structures, it requires tons of refactor but it's more or less working 2023-03-11 21:28:33 +09:00