## Search found 94 matches

January 12th, 2021, 4:09 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 1054

### Re: formula help for a weapon special needed

you should stop using the terms attacker and defender in special weapon descriptions and use the terms owner and opponent, and when I see the code you wrote for the weapon, did you realize that when the user hits their target, it is then healed while you seem to describe the weapon as having to infl...
January 12th, 2021, 3:24 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 1054

### Re: formula help for a weapon special needed

January 12th, 2021, 2:50 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 1054

### 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. 2. This only happens when the owner has to defend himself. 3. the attack must hit the mark every time, in defense only or also in attack? if in ...
January 12th, 2021, 2:19 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 1054

### Re: formula help for a weapon special needed

then for you reflect must activate when owner hit this opponent when he is on defense, i believed what it was when the opponent hit the owner what he was harmed with damage= damge what he was inflicted to owner of special, with the code what you use, it ismore a drains 100% WHO HEAL the owner what d...
January 12th, 2021, 2:11 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 1054

### Re: formula help for a weapon special needed

i think what refection was only when attack hit, not when attack misses the cible? the description said what attack refected when attack hit the target, for me what attack don't reflected when attack misses must be normal.
January 12th, 2021, 12:17 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 1054

### Re: formula help for a weapon special needed

and the attacker is unit who begin the fight
January 12th, 2021, 12:15 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 1054

### Re: formula help for a weapon special needed

wuld you said what specials must active in defense only, then you must add active_on=defense in code [drains] id=TEST_reflect name= _ "reflect" description= _ "When this attack hits it harms the caster." value=-100 apply_to=opponent active_on=defense [/drains] if i undestand, the...
January 11th, 2021, 10:43 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 1054

### 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

Code: Select all

`````` [drains]
id=TEST_reflect
name= _ "reflect"
description= _ "When this attack hits it harms the caster."
value=-100
apply_to=opponent
[/drains]
``````
January 11th, 2021, 4:35 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 1054

### Re: formula help for a weapon special needed

if you use apply_to=attacker and apply_to=defender, then attacker AND defender will see the damage inflicted to their opponent reflected, if attacker is owner of special then, he AND him opponent will be affected by weapon specials effect, but will be same if opponent to owner is attacker. Is the ef...
January 11th, 2021, 4:29 pm
Forum: WML Workshop
Topic: "Alert" unit immune to backstab
Replies: 24
Views: 613

### Re: "Alert" unit immune to backstab

The gray-out the word backstab is really important like for poison with undead? instead to put "immune to backstab" perhaps must you rewrite description if you want use this new feature like"reduce backstab damage to base damage value" for player undestand what backstab word not ...
January 11th, 2021, 4:19 pm
Forum: WML Workshop
Topic: formula help for a weapon special needed
Replies: 26
Views: 1054

### 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 -...
December 21st, 2020, 2:44 pm
Forum: WML Workshop
Topic: "Alert" unit immune to backstab
Replies: 24
Views: 613

### Re: "Alert" unit immune to backstab

if you use 1.15.7 then you could make an alert abilities without customi backstab #define ABILITY_SPECIAL_ALERT # to be included in a [abilities] clause. [damage] id=alert name= _ "alert" female_name= _ "female^alert" description= _ "Immune to backstab" divide=2 cumulat...
December 10th, 2020, 7:24 pm
Forum: Scenario & Campaign Development
Topic: After the Storm 0.10.11 [Wesnoth 1.14.x & 1.15.4+]
Replies: 607
Views: 260676

### Re: After the Storm 0.10.11 [Wesnoth 1.14.x & 1.15.4+]

fr.zip
Ats translation to 88%
fr translation of Ats completed to 88%.
September 22nd, 2020, 9:33 am
Forum: Technical Support
Topic: (15.4/15.5) (HttT) Lisar Loses Sceptre of Fire upon Leveling Up
Replies: 7
Views: 546

### Re: (15.4/15.5) (HttT) Lisar Loses Sceptre of Fire upon Leveling Up

i reproduced the bug, but when i create a Princess unit with scptre variation and i i level up in debug mode, she not loses variation, i think what it is because Li'sar take the Sceptre of Fire in 1.15.4 who have a bug in variation. You must be replay the scenario for clean the bug in 1.15.5.
September 12th, 2020, 10:46 am
Forum: WML Workshop
Topic: [solved?] Filter unit by [variation] 1.15.4
Replies: 4
Views: 209

### Re: Filter unit by [variation] 1.15.4

you musns't be have that https://github.com/wesnoth/wesnoth/commit/ae3eea28f82ea0443704e287c6be105d5d928b2e in your engine, this bugs is resolved in master but after 1.15.4 release. if you want resolve your problems now, you must compile the source code afeter download the master branch on github, e...