Staredit Network > Forums > Modding Assistance > Topic: [help] starting energy
[help] starting energy
Aug 10 2019, 7:18 pm
By: Lagi  

Aug 10 2019, 7:18 pm Lagi Post #1



I try to set starting energy more than 50. I check all GPTP can not find it (there is max energy 250 or 200 to be modify).

Would like to change it globally for each unit to be let say 100. But would appreciate to know how to set it for each individual unit as well.

edit:
in Firegradt there is exe edit for Spellcaster, select custom caster and second option set energy, but I dont know how to set it up.

Post has been edited 1 time(s), last time on Aug 12 2019, 7:22 am by Lagi.



None.

Sep 2 2019, 9:44 pm Lagi Post #2



still dont know how to set higher starting energy,

but nice thing - energy update increase reg speed by 25%. Just put into game hook.cpp

//energy upgrade +25%energy regeneration rate

if(
(unit->id == UnitId::ghost && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::MoebiusReactor)) && !(unit->status & UnitStatus::Cloaked)) ||
(unit->id == UnitId::wraith && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::ApolloReactor)) && !(unit->status & UnitStatus::Cloaked)) ||
(unit->id == UnitId::battlecruiser && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::ColossusReactor))) ||
(unit->id == UnitId::queen && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::GameteMeiosis))) ||
(unit->id == UnitId::defiler && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::MetasynapticNode))) ||
(unit->id == UnitId::high_templar && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::KhaydarinAmulet))) ||
(unit->id == UnitId::arbiter && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::KhaydarinCore))) ||
(unit->id == UnitId::corsair && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::ArgusJewel))) ||
(unit->id == UnitId::medic && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::CaduceusReactor))) ||
(unit->id == UnitId::dark_archon && (scbw::getUpgradeLevel(unit->playerId, UpgradeId::ArgusTalisman)))
)
unit->energy += 2; // 8 is default speed


//end energy upgrade +25%energy regeneration rate


Post has been edited 1 time(s), last time on Sep 8 2019, 9:41 am by Lagi.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: lil-Inferno, C(a)HeK, Ultraviolet