tdauth / wowr

Warcraft III: Reforged funmap World of Warcraft Reforged.
https://wowreforged.org
8 stars 0 forks source link

Register ships for all races for replacements and list them under units.html on the website #2839

Closed tdauth closed 1 month ago

tdauth commented 1 month ago

Loading them with the savecode should always place them at Theramore in the water (check if there is a check since you could always water only creeps etc.).

tdauth commented 1 month ago

Already exists:

    constant integer RACE_OBJECT_TYPE_TRANSPORT_SHIP = 61
    constant integer RACE_OBJECT_TYPE_FRIGATE = 62
    constant integer RACE_OBJECT_TYPE_BATTLESHIP = 63
    constant integer RACE_OBJECT_TYPE_SHIP_SPECIAL_1 = 64
    constant integer RACE_OBJECT_TYPE_SHIP_SPECIAL_2 = 65
tdauth commented 1 month ago

IsRaceUnit is missing the ship types.

tdauth commented 1 month ago

IsRaceUnit is missing:

 constant integer RACE_OBJECT_TYPE_DRAGONHAWK = 59
    constant integer RACE_OBJECT_TYPE_TAUREN = 60
    constant integer RACE_OBJECT_TYPE_TRANSPORT_SHIP = 61
    constant integer RACE_OBJECT_TYPE_FRIGATE = 62
    constant integer RACE_OBJECT_TYPE_BATTLESHIP = 63
    constant integer RACE_OBJECT_TYPE_SHIP_SPECIAL_1 = 64
    constant integer RACE_OBJECT_TYPE_SHIP_SPECIAL_2 = 65
tdauth commented 1 month ago

Fixed.