bugBattle for Wesnoth - Bugs: bug #21248, wrong attack icon for Moremirmu

 
 
Show feedback again

bug #21248: wrong attack icon for Moremirmu

Submitted by:  Vax Quis <vaxx>
Submitted on:  Sun 03 Nov 2013 09:01:58 PM UTC  
 
Category: BugSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Campaign
Status: FixedPrivacy: Public
Assigned to: Ignacio R. Morelle <shadowmaster>Open/Closed: Closed
Release: 1.11.6 (any)Operating System: any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 13 Nov 2013 04:18:28 AM UTC, comment #2:

Opted for (c).

Ignacio R. Morelle <shadowmaster>
Project AdministratorIn charge of this item.
Tue 05 Nov 2013 01:46:18 AM UTC, comment #1:

Or d) change "holy sword" to "holy staff". :)

J Tyne <jamit>
Project Member
Sun 03 Nov 2013 09:01:58 PM UTC, original submission:

The attack is changed by
[object]
[effect]
apply_to=attack
range=melee
set_name=holy sword
set_description=_ "holy sword"
set_type=arcane
increase_damage=1
increase_attacks=2
[/effect]
[/object]
but the melee attack of this unit (White Mage) is identified as a staff by
[attack]
name=staff
description=_"staff"
icon=attacks/staff-magic.png
type=impact
range=melee
damage=6
number=2
[/attack]
- in result we get a "holy sword" attack with a staff icon.
SOLUTION:
since AFAIK it's impossible to change icon by means of [object][effect], instead of modification either
a) add a new attack, eg. "apply_to=new_attack", with the side effect that the power of the attack doesn't depend on mage's level anymore (either removing or keeping the staff attack),
b) create a custom unit for Moremirmu mirroring White Mage/Mage of Light but with a sword instead of staff.
OR c) implement changing attack icons by WML.

Vax Quis <vaxx>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by shadowmaster (Posted a comment)
  • -unavailable- added by jamit (Posted a comment)
  • -unavailable- added by vaxx (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 17 Nov 2013 06:26:15 PM UTCshadowmasterOpen/ClosedOpen=>Closed
    Wed 13 Nov 2013 04:18:28 AM UTCshadowmasterStatusNone=>Fixed
      Assigned toNone=>shadowmaster
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup