Aerisetta
Active member
I wanted to make all the characters on a stage spawn with nopain 1 and nodrop 2 so the stage is harder in this mode.
I wanted to avoid making a new character
I decided to spawn them with those properties changed. I wanted to check if this was a good/optimal way to do it. thx
I wanted to avoid making a new character
I decided to spawn them with those properties changed. I wanted to check if this was a good/optimal way to do it. thx
Code:
spawn Priest_Staff
@script
void main()
{
void self = getlocalvar("self");
getentityproperty(self, "nopain");
getentityproperty(self, "nodrop");
changeentityproperty(self, "nopain", 1);
changeentityproperty(self, "nodrop", 2);
}
@end_script
coords 1200 650
item book
itemalias book1
at 1300
spawn Priest_Book
@script
void main()
{
void self = getlocalvar("self");
getentityproperty(self, "nopain");
getentityproperty(self, "nodrop");
changeentityproperty(self, "nopain", 1);
changeentityproperty(self, "nodrop", 2);
}
@end_script
coords 1300 850
map 0 #base
#health 30
at 1300
####HARD
spawn Priest_Harp
@script
void main()
{
void self = getlocalvar("self");
getentityproperty(self, "nopain");
getentityproperty(self, "nodrop");
changeentityproperty(self, "nopain", 1);
changeentityproperty(self, "nodrop", 2);
}
@end_script
coords 800 750
map 0 #base
#health 30
at 1300
