Search found 934 matches

by Adamant14
January 16th, 2021, 1:54 pm
Forum: Scenario & Campaign Development
Topic: A Vision Blinded (15 scenarios, all complete and working)
Replies: 254
Views: 62997

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: 1111

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: 1111

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: 1111

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: 1111

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: 1111

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: 1111

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: 1111

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: 1111

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: 1111

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: 1111

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: 1111

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...
by Adamant14
January 3rd, 2021, 8:05 am
Forum: Scenario & Campaign Development
Topic: Antar, Son of Rheor [Development Thread]
Replies: 435
Views: 97665

Re: Antar, Son of Rheor [Development Thread]

Thank you for your feedback and the replays. It's unbelievable how many details you have discovered, some of them very hidden. Your contribution really helped improve the quality of the campaign. Many Thanks.
by Adamant14
January 3rd, 2021, 7:47 am
Forum: WML Workshop
Topic: broken fence transistion
Replies: 2
Views: 125

Re: broken fence transistion

That's fine for me. Thanks for the clarification.
by Adamant14
January 3rd, 2021, 12:52 am
Forum: WML Workshop
Topic: broken fence transistion
Replies: 2
Views: 125

broken fence transistion

Not sure if this is the right place to post that issue, but I noticed some broken transition between fence and village. Recently I have installed the latest development version 1.15.8, and there I have noticed that: fence_transistion_bug.png Edit: According to the changelog, the iron fence was added...