Search found 967 matches

by Adamant14
June 29th, 2021, 6:06 pm
Forum: Scenario & Campaign Development
Topic: Antar, Son of Rheor [Development Thread]
Replies: 457
Views: 125208

Re: Antar, Son of Rheor [Development Thread]

Just a few small changes, a little cosmetics, no big stuff.
Do you have any suggestions?
Wishes? Ideas? Improvements?
I am always happy to receive constructive suggestions and ideas. (And of course to get replays)
;)
by Adamant14
June 29th, 2021, 5:59 pm
Forum: Scenario & Campaign Development
Topic: Improved AI Ally Control
Replies: 20
Views: 1923

Re: Improved AI Ally Control

I thought it was just deprecated, and not actually removed yet? Yes you are right. I thought it will be removed with BfW 1.16. But they removed the AI Controller from all mainline campaigns with BfW 1.15 , right? Version 1.15.0 Campaigns Deprecate AI Controller and remove it from mainline campaign ...
by Adamant14
June 27th, 2021, 11:57 am
Forum: Scenario & Campaign Development
Topic: Improved AI Ally Control
Replies: 20
Views: 1923

Re: Improved AI Ally Control

Especially now that the AI controller option has been removed from the core, a very useful tool.
I'll use it in my campaign, thank you for sharing.

Are there any plans to add it to the Wesnoth core?
by Adamant14
January 16th, 2021, 1:54 pm
Forum: Scenario & Campaign Development
Topic: A Vision Blinded (15 scenarios, all complete and working)
Replies: 266
Views: 82257

Re: A Vision Blinded (15 scenarios, all complete and working)

I changed those lines, thank you for noticing.
I wonder how you stumbled upon it. :)
by Adamant14
January 12th, 2021, 3:30 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

Re: formula help for a weapon special needed

I'll recap what you're trying to describe: 1. When the owner of this weapon hits his target, he receives damage equal to that he inflicted on his opponent. That's right, but not the attacker has the weapon special (reflect), but the defender. 2. This only happens when the owner has to defend himsel...
by Adamant14
January 12th, 2021, 3:14 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

Re: formula help for a weapon special needed

i think what refection was only when attack hit, not when attack misses the cible? Yes. the description said what attack refected when attack hit the target, for me what attack don't reflected when attack misses must be normal. Yes. then for you reflect must activate when owner hit this opponent wh...
by Adamant14
January 12th, 2021, 1:40 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

Re: formula help for a weapon special needed

if i understand, the 'defender' for you, is the owner of special when he is in defense, ... Correct Looks like [drains] misses sometimes, even at value=100 , and maybe that's why it doesn't work. After adding a [chance_to_hit] =100 it seems to work passably: #define WEAPON_SPECIAL_REFLECT_TEST [dra...
by Adamant14
January 12th, 2021, 11:33 am
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

Re: formula help for a weapon special needed

i only the opponent of omner must takes the damage then you must use apply_to=opponent [drains] id=TEST_reflect name= _ "reflect" description= _ "When this attack hits it harms the caster." value=-100 apply_to=opponent [/drains] I don't know why, but that doesn't work either. In...
by Adamant14
January 11th, 2021, 7:46 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

Re: formula help for a weapon special needed

why not use [drains] id=TEST_reflect name= _ "reflect" description= _ "When this attack hits it harms the caster." value=-100 apply_to=attacker [/drains] [drains] id=TEST_reflect2 value=-100 apply_to=defender [/drains] instead, value=100 is 100% of damage inflicted drained, and ...
by Adamant14
January 9th, 2021, 8:19 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

Re: formula help for a weapon special needed

... just get rid of the parentheses in both cases and it should work. (I could be wrong). After removing the parentheses the error messages are gone. But sadly the second part [heal_on_hit] wont work as hoped. Even the first part [heal_on_hit] only works if the attacker just has only one strike. If...
by Adamant14
January 9th, 2021, 7:41 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

Re: formula help for a weapon special needed

For the second part, I would recommend using an event...but we can just heal the defender for whatever the $damage_inflicted was. #define WEAPON_SPECIAL_REFLECT [heal_on_hit] id=TEST_reflect_part1 name= _ "reflect" description= _ "When this attack hits it harms the caster." appl...
by Adamant14
January 9th, 2021, 7:18 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

Re: formula help for a weapon special needed

But can you explain shortly why do you want a weapon’s special for this ? If you really want a "reflection effect", for me, it’s not in the special weapon of the attacker. Of course not, it is a special for the defender, a boss who can only be defeated under certain circumstances, but oth...
by Adamant14
January 9th, 2021, 7:01 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

Re: formula help for a weapon special needed

@Zatiranyk : Thank you for your solution, but Lord-Knightmare's second solution comes closer to what I have in mind. @Lord-Knightmare: It seems to work. I would not have thought that the variable $damage_inflicted would be recognized here. Part on seems to work, the second part remains. The attacker...
by Adamant14
January 9th, 2021, 6:13 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

Re: formula help for a weapon special needed

Thank you for your solution Lord-Knightmare. I am sure that it can be done with events, I was just wondering whether there is a way to do it without using any events?
by Adamant14
January 9th, 2021, 3:48 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 2189

formula help for a weapon special needed

In my campaign, I would need a weapon special that, like a reflection, completely throws the damage caused by the attacker back to the attacker self. [heal_on_hit] with a negative value works fine, but It would be cool, and really like a reflection, if the attacker gets harmed by exact the damage he...