Staredit Network > Forums > Modding Assistance > Topic: (help pls) Feedback remove shields
(help pls) Feedback remove shields
Nov 13 2018, 10:29 pm
By: Lagi  

Nov 13 2018, 10:29 pm Lagi Post #1

my Lords, if you find some time

I want Dark Archon Feedback spell also to target all protoss, and remove their shields, like targeted EMP (how to affect with energy+shielded protoss unit? I dont know, can be double damage i guess. edit: first deal damage, then zeroing shields)

here is the Feedback_spell.cpp (original, not yet massacred by me ^^ )

I can not go through the purple part (I think). It force my Darkon to choose energized victim :-(
void orders_Feedback(CUnit* unit) {

CUnit* target = unit->orderTarget.unit;

target != NULL &&
units_dat::BaseProperty[target->id] & UnitProperty::Spellcaster &&
!(target->status & UnitStatus::IsHallucination)

u16 techCost;
int sightRange = unit->getSightRange(true);

sightRange * 32,
0x532 //Must target units with energy


if(target->status & UnitStatus::IsHallucination) {
u8 overlaySize = hasOverlay(target);
replaceFeedbackSprite(target,overlaySize + SpriteId::Feedback_Hit_Small);
else { //F6DE3

if(target->energy <= 0)
else {

target->energy = 0;

Post has been edited 2 time(s), last time on Nov 14 2018, 8:24 am by Lagi.


  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:23 am]
Wing Zero -- Its awesome
[03:23 am]
Wing Zero -- Canadian cookies smell like maple syrup
[03:08 am]
jjf28 -- well I'm satisfied enough to leave it if anyone interested gets lost somewhere I'll be happy to update the guide
[09:14 pm]
Suicidal Insanity -- science, such as at what temperature do you cook a steak?
[08:04 pm]
jjf28 -- it's where we all raid Heinermann's apartment for Canadian snacks and perform science o.o
[08:02 pm]
dumbducky -- Also wtf is SENCon?
[08:02 pm]
dumbducky -- KrayZee
KrayZee shouted: What happened to his latova website?
THe people demand answers
[11:02 am]
Pr0nogo -- woah, you can't call me an h for being g
[10:06 am]
Suicidal Insanity -- If you are going there .... and kids :P
[06:55 am]
IlyaSnopchenko -- And chicks
Please log in to shout.

Members Online: rompo43253, 4alicec4723ec7, Roy, Doodan