Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the ability to retreive orderid and ability id from channelabilitypreset #30

Merged
merged 3 commits into from Jan 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 6 additions & 2 deletions wurst/objediting/presets/ChannelAbilityPreset.wurst
Expand Up @@ -41,12 +41,16 @@ public function Targettype.toString() returns string

public class ChannelAbilityPreset extends AbilityDefinitionIllidanChannel
private bitset optionSet = bitset(0)

private string orderString

function getOrderString() returns string
return orderString

construct(int newId, int lvls, boolean removeChannelProperties)
super(newId)
this.lvls = lvls
setLevels(lvls)
let orderString = odf.getOrderString(true)
orderString = odf.getOrderString(true)
presetBaseOrderID((int _lvl) -> orderString)
if removeChannelProperties
removeChannelProperties(true)
Expand Down