mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-11 23:08:20 +00:00
Added support for querying poison special of attacks to the Python API.
(bug #8950)
This commit is contained in:
parent
e97d041fd8
commit
2f6a73d7c7
@ -277,6 +277,7 @@ at_get_ability_by_id( "i", marksman )
|
||||
at_get_ability_by_id( "i", magical )
|
||||
at_get_ability_by_id( "i", charge )
|
||||
at_get_ability_by_id( "i", drains )
|
||||
at_get_ability_by_id( "i", poison )
|
||||
|
||||
at_get_string_prop( name )
|
||||
at_get_string_prop( range )
|
||||
@ -305,6 +306,7 @@ static PyGetSetDef attacktype_getseters[] = {
|
||||
at_gs( magical, "This attack is magical." )
|
||||
at_gs( charge, "This attack has the 'charge' special." )
|
||||
at_gs( drains, "This attack has the 'drains' special." )
|
||||
at_gs( poison, "This attack has the 'poison' special." )
|
||||
at_gs( range, "String with the name of the attack range." )
|
||||
{ NULL, NULL, NULL, NULL, NULL }
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user