Search found 14 matches
- April 5th, 2020, 7:51 pm
- Forum: WML Workshop
- Topic: Weapon filter not working
- Replies: 20
- Views: 2234
Re: Weapon filter not working
It works. Is there a clean way to make the unit reduce 5% to hit for each adjacent friendly unit? For instance, if there are 3 adjacent friendly units, it reduces 15% to hit in total
- April 4th, 2020, 6:37 pm
- Forum: WML Workshop
- Topic: Weapon filter not working
- Replies: 20
- Views: 2234
Re: Weapon filter not working
New problem. I wish to make a weapon special that makes the owner harder to hit when he is adjacent to friendly units. Here is my attempt for one adjacent friend: #define WEAPON_SPECIAL_DFORMATION1 [chance_to_hit] id=dformation1 name= _ "" description= _ "makes 5% harder to hit when n...
- March 31st, 2020, 8:11 pm
- Forum: WML Workshop
- Topic: Clean "Hit and Run" weapons special
- Replies: 8
- Views: 1015
Re: Clean "Hit and Run" weapons special
Thanks, I dit it, based on Era of Magic Goblin Assassin "Hit and Run" ability: Weapon special to be placed on the unit .cfg: #define WEAPON_SPECIAL_RETREAT [dummy] id=retreat name= _ "retreat" description=_"The attacker gains one move point after attacking" [/dummy] #en...
- March 31st, 2020, 1:06 pm
- Forum: WML Workshop
- Topic: Clean "Hit and Run" weapons special
- Replies: 8
- Views: 1015
Clean "Hit and Run" weapons special
Is there a way to make a weapon special that adds back to the attacking unit some movement points at the end of the attack? I've found some some solutions but they were hackish and weren't weapon specials, they were abilities.
- March 31st, 2020, 1:02 pm
- Forum: WML Workshop
- Topic: Weapon filter not working
- Replies: 20
- Views: 2234
Re: Weapon filter not working
you must replace special_id by old special. Thanks, that did the job :doh: #define WEAPON_SPECIAL_SPEARWALL [damage] id=spearwall name= _ "spearwall" description= _ "Defender causes 2X the damage against charging opponents" name_inactive = "spearwall" description_inact...
- March 30th, 2020, 8:04 pm
- Forum: WML Workshop
- Topic: Weapon filter not working
- Replies: 20
- Views: 2234
Re: Weapon filter not working
#define WEAPON_SPECIAL_SPEARWALL [damage] id=spearwall name= _ "spearwall" description= _ "Defender causes 3X the damage against charging attackers" name_inactive = "spearwall" description_inactive = "Defender causes 3X the damage charging attackers" multiply...
- March 30th, 2020, 8:50 am
- Forum: WML Workshop
- Topic: Weapon filter not working
- Replies: 20
- Views: 2234
Weapon filter not working
I'm trying make a weapon special that multiplies the weapon damage by 3x whenever it defends against an attacker using the charge special on its own weapon: #define WEAPON_SPECIAL_SPEARWALL [damage] id=spearwall name= _ "spearwall" description= _ "This counter attack causes 3x damage ...
- June 11th, 2018, 12:02 am
- Forum: WML Workshop
- Topic: Turns itself to stone at daybreak ability :|
- Replies: 9
- Views: 5053
Re: Turns itself to stone at daybreak ability :|
it is in <Game Folder>/data/core/macros. There is an "abilities.cfg" inside. I use a "stone sleep" ability in the Millennium Era, which does pretty much the same as "Lithic Idol", just for vampires instead. Thank you, I adapted the "Lithic Idol" :D I already ...
- June 10th, 2018, 7:23 pm
- Forum: WML Workshop
- Topic: Turns itself to stone at daybreak ability :|
- Replies: 9
- Views: 5053
Re: Turns itself to stone at daybreak ability :|
Where can I find the event definitions of the abilities and special attacks used in core??
- June 10th, 2018, 6:44 pm
- Forum: WML Workshop
- Topic: Turns itself to stone at daybreak ability :|
- Replies: 9
- Views: 5053
Re: Turns itself to stone at daybreak ability :|
Where can I find the "uncanned" definitions of the core abilities?
how can I define a filter to affect "self"?
how can I define a filter to affect "self"?
- June 10th, 2018, 6:19 pm
- Forum: WML Workshop
- Topic: Turns itself to stone at daybreak ability :|
- Replies: 9
- Views: 5053
Turns itself to stone at daybreak ability :|
Hello, I wish to implement a unit ability that makes petrifies the unit that has it during daytime and unpetrifies it during night time. I don't quite know what I'm doing but this is my incomplete attempt so far. It's not working... #define ABILITY_TURNS_TO_STONE [petrify] id="turns to stone&qu...
- June 7th, 2018, 10:09 pm
- Forum: WML Workshop
- Topic: Denfense only attack
- Replies: 1
- Views: 1350
Denfense only attack
Where can I find code for a "defense only" attack special?
- June 3rd, 2018, 5:35 pm
- Forum: WML Workshop
- Topic: Resistence penetrating special attack
- Replies: 6
- Views: 2793
Re: Resistence penetrating special attack
Wow! Thank you enclave for you great answer, it certainly gave me some unexpectedly interesting stuff to study. I'm sure nothing will be simple, but I have no haste anyway :D The first one is straight forward. You put on an object to the unit at attack start and remove it at attack end. For the seco...
- June 3rd, 2018, 12:05 pm
- Forum: WML Workshop
- Topic: Resistence penetrating special attack
- Replies: 6
- Views: 2793
Resistence penetrating special attack
Hello all, I'm a WML newbie, this is my first post. I'm looking forward making a new campaign with all custom units that will rely heavily on damage resistances ("armour"). I wish to implement a special attack macro for giving to some attacks the ability to penetrate damage resistances. Th...