PDA

View Full Version : Waggle Update Request (making it Mass Color Friendly)



boardergeek
07-18-2011, 01:34 PM
I don't know if this is worthwhile, but I really wanted waggle to cast mass colors if in a group and just colors if not in a group.

Here is an ugly hack.

First add 611 to cast list.

cast_list = CharSettings['cast_list'] || [ 101, 102, 103, 107, 115, 120, 202, 211, 215, 219, 303, 307, 310, 313, 401, 406, 414, 425, 430, 503, 507, 508, 509, 513, 520, 601, 602, 606, 611, 613, 617, 618, 625, 640, 712, 905, 911, 913, 920, 1109, 1119, 1125, 1130, 1601, 1603, 1606, 1610, 1611, 1612, 1616 ]

Next, don't remove 611 simply because it has no time_per

cast_list.delete_if { |spell| !(known_spells.include?(spell) and (Spell[spell].time_per > 0 or spell.to_s=="611")) }

Around Line 299 - Don't remove 611 from the spell setup menu

next unless (Spell[spell].time_per > 0 or spell.num == 611)


Next. Check if we are trying 611 and if so verify we are in a group. Also, the spell used for tracking purposes will be 601. So we are going to need one spell to cast and one to track

Around 863


trackSpellNum = spell

if spell == 611
trackSpellNum = 601
line = fput("group")
if(line =~ /is following you|is the leader of your group/i)

else
spell = 601
end
end


Line 891 - 909
Change
target_info[name][spell.num.to_s]
to

target_info[name][trackSpell.num.to_s]

Lastly, bail or of the non-stacking section if 611. Line 918

next if spell == 625 or spell == 611

DaCapn
07-18-2011, 02:21 PM
I had a somewhat similar issue with 911. I just edited my spell list xml file to make it not self-only. The spell list updates and reverts the changes so I had to change the lich update settings to exclude that file. At that point, using waggle to spell up a friend would grant 911.

It's only half-related point and your situation is trickier since you have to work around two versions of a spell but I thought I'd share this trick as well.