How to use the sc2reader.old_data.Protoss function in sc2reader

To help you get started, we’ve selected a few sc2reader examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
0x021d04: 'Dark Templar',
        0x021d05: 'Sentry',
    }
    @Mode(0x031500, 0x031600)
    class WarpGate(Production): 
        code = 0xa101
        full_name = "Warp Gate"
        train = {
            0x030710: 'Zealot',
            0x030711: 'Stalker',
            0x030713: 'High Templar',
            0x030714: 'Dark Templar',
            0x030715: 'Sentry',
        }

class Forge(GameObject, Building, Protoss):
    code = 0x5b01
    research = {
        0x022500: 'Ground Weapons Level 1',
        0x022501: 'Ground Weapons Level 2',
        0x022502: 'Ground Weapons Level 3',
        0x022503: 'Ground Armor Level 1',
        0x022504: 'Ground Armor Level 2',
        0x022505: 'Ground Armor Level 3',
        0x022506: 'Shield Level 1',
        0x022507: 'Shield Level 2',
        0x026500: 'Shield Level 3',
    }
class CyberneticsCore(GameObject, Building, Protoss):
    code = 0x6401
    research = {
        0x031d00: 'Air Weapons Level 1',
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
@Transport(0x021c12, 0x021c22, 0x021c33, 0x021c20)
class WarpPrism(GameObject, Unit, Army, Protoss):
    code = 0x6d01
    @Mode(0x031a00, 0x031b00)
    class Phasing(object):
        code = 0xa401
class Phoenix(GameObject, Unit, Army, Protoss):
    code = 0x6a01
    abilities = {
        0x010c01: 'Cancel Graviton Beam',
    }
    spells = {
        0x010c20: 'Graviton Beam',
    }
class VoidRay(GameObject, Unit, Army, Protoss):
    code = 0x6c01
class Carrier(GameObject, Unit, Army, Protoss):
    code = 0x6b01
    train = {
        0x022400: 'Interceptor',
    }
class Mothership(GameObject, Unit, Army, Protoss):
    code = 0x2401
    spells = {
        0x032310: 'Vortex',
        0x003d10: 'Mass Recall',
    }
class HallucinatedImmortal(GameObject, Unit, Army, Protoss):
    code = 0x6f02
class HallucinatedColossus(GameObject, Unit, Army, Protoss):
    code = 0x1d02
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
0x022110: 'Psionic Storm',
        0x003c20: 'Feedback',
    }
    @Upgrade(0x033c00, 0x0) # TODO: cancel code?
    class Archon(Unit, Army, Protoss):
        code = 0xa801
        abilities = {
            0x011810: 'Set rally point', # while morphing
        }

class DarkTemplar(GameObject, Unit, Army, Protoss):
    code = 0x6801
    @Upgrade(0x033c00, 0x0) # TODO: cancel code?
    class Archon(GameObject, Unit, Army, Protoss):
        code = 0xa801
class Immortal(GameObject, Unit, Army, Protoss):
    code = 0x6f01
class Colossus(GameObject, Unit, Army, Protoss):
    code = 0x1d01
class Observer(GameObject, Unit, Detector, Protoss):
    code = 0x6e01

@Transport(0x021c12, 0x021c22, 0x021c33, 0x021c20)
class WarpPrism(GameObject, Unit, Army, Protoss):
    code = 0x6d01
    @Mode(0x031a00, 0x031b00)
    class Phasing(object):
        code = 0xa401
class Phoenix(GameObject, Unit, Army, Protoss):
    code = 0x6a01
    abilities = {
        0x010c01: 'Cancel Graviton Beam',
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
0x022507: 'Shield Level 2',
        0x026500: 'Shield Level 3',
    }
class CyberneticsCore(GameObject, Building, Protoss):
    code = 0x6401
    research = {
        0x031d00: 'Air Weapons Level 1',
        0x031d01: 'Air Weapons Level 2',
        0x031d02: 'Air Weapons Level 3',
        0x031d03: 'Air Armor Level 1',
        0x031d04: 'Air Armor Level 2',
        0x031d05: 'Air Armor Level 3',
        0x031d06: 'Warp Gate',
        0x035d01: 'Hallucination',
    }
class PhotonCannon(GameObject, Building, Detector, Protoss):
    code = 0x5e01
class RoboticsFacility(GameObject, Production, Protoss):
    code = 0x6301
    train = {
        0x021f00: 'Warp Prism',
        0x021f01: 'Observer',
        0x021f02: 'Colossus',
        0x021f03: 'Immortal',
    }
class Stargate(GameObject, Production, Protoss):
    code = 0x5f01
    train = {
        0x021e00: 'Phoenix',
        0x021e02: 'Carrier',
        0x021e04: 'Void Ray',
    }
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
class Archon(GameObject, Unit, Army, Protoss):
        code = 0xa801
class Immortal(GameObject, Unit, Army, Protoss):
    code = 0x6f01
class Colossus(GameObject, Unit, Army, Protoss):
    code = 0x1d01
class Observer(GameObject, Unit, Detector, Protoss):
    code = 0x6e01

@Transport(0x021c12, 0x021c22, 0x021c33, 0x021c20)
class WarpPrism(GameObject, Unit, Army, Protoss):
    code = 0x6d01
    @Mode(0x031a00, 0x031b00)
    class Phasing(object):
        code = 0xa401
class Phoenix(GameObject, Unit, Army, Protoss):
    code = 0x6a01
    abilities = {
        0x010c01: 'Cancel Graviton Beam',
    }
    spells = {
        0x010c20: 'Graviton Beam',
    }
class VoidRay(GameObject, Unit, Army, Protoss):
    code = 0x6c01
class Carrier(GameObject, Unit, Army, Protoss):
    code = 0x6b01
    train = {
        0x022400: 'Interceptor',
    }
class Mothership(GameObject, Unit, Army, Protoss):
    code = 0x2401
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
code = 0x2401
    spells = {
        0x032310: 'Vortex',
        0x003d10: 'Mass Recall',
    }
class HallucinatedImmortal(GameObject, Unit, Army, Protoss):
    code = 0x6f02
class HallucinatedColossus(GameObject, Unit, Army, Protoss):
    code = 0x1d02
class HallucinatedPhoenix(GameObject, Unit, Army, Protoss):
    code = 0x6a02
class HallucinatedVoidRay(GameObject, Unit, Army, Protoss):
    code = 0x6c02

# Buildings
class Nexus(GameObject, Main, Production, Protoss):
    code = 0x5701
    train = {
        0x022000: 'Probe',
        0x003b00: 'Mothership',
    }
    spells = {
        0x012520: 'Chrono Boost',
    }
    abilities = {
        0x011a10: 'Set rally point',
        0x011a20: 'Set rally target',
    }
class Pylon(GameObject, Building, Protoss):
    code = 0x5801
class Assimilator(GameObject, Building, Protoss):
    code = 0x5901
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
class VoidRay(GameObject, Unit, Army, Protoss):
    code = 0x6c01
class Carrier(GameObject, Unit, Army, Protoss):
    code = 0x6b01
    train = {
        0x022400: 'Interceptor',
    }
class Mothership(GameObject, Unit, Army, Protoss):
    code = 0x2401
    spells = {
        0x032310: 'Vortex',
        0x003d10: 'Mass Recall',
    }
class HallucinatedImmortal(GameObject, Unit, Army, Protoss):
    code = 0x6f02
class HallucinatedColossus(GameObject, Unit, Army, Protoss):
    code = 0x1d02
class HallucinatedPhoenix(GameObject, Unit, Army, Protoss):
    code = 0x6a02
class HallucinatedVoidRay(GameObject, Unit, Army, Protoss):
    code = 0x6c02

# Buildings
class Nexus(GameObject, Main, Production, Protoss):
    code = 0x5701
    train = {
        0x022000: 'Probe',
        0x003b00: 'Mothership',
    }
    spells = {
        0x012520: 'Chrono Boost',
    }
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
research = {
        0x031e00: 'Charge',
        0x031e01: 'Blink',
    }
class FleetBeacon(GameObject, Building, Protoss):
    code = 0x5c01
    research = {
        0x003601: 'Graviton Catapult',
    }
class TemplarArchives(GameObject, Building, Protoss):
    code = 0x6001
    research = {
        0x022700: 'Khaydarin Amulet',
        0x022704: 'Psionic Storm',
    }
class DarkShrine(GameObject, Building, Protoss):
    code = 0x6101
class RoboticsBay(GameObject, Building, Protoss):
    code = 0x6201
    research = {
        0x022601: 'Gravitic Booster',
        0x022602: 'Gravitic Drive',
        0x022605: 'Extended Thermal Lance',
    }

#
# Zerg
#
class Larva(GameObject, Zerg):
    code = 0xb101
    train = {
        0x023200: 'Drone',