--- Log opened Wed Nov 28 00:00:02 2018 20181128 00:52:13-!- celmin|away is now known as celticminstrel 20181128 00:53:32< celticminstrel> [Nov 27@03:10:25am] hk238: hmm should [effect] [status] [variables] work? 20181128 00:53:33< celticminstrel> No. 20181128 00:53:52< celticminstrel> The only thing allowed in [status] is some_key=yes|no 20181128 00:54:33< celticminstrel> If you're altering variables with [modify_unit] you'd just put a [variables] tag right in [modify_unit]. 20181128 00:59:42< hk238> oh so you can do that? 20181128 00:59:51< hk238> that's cool 20181128 01:00:48< celticminstrel> ... 20181128 01:00:57< celticminstrel> FTR, anything that can go in [unit] can also go in [modify_unit]. 20181128 01:01:16< celticminstrel> Plus [effect], [object], [trait], [advancement], 20181128 01:01:34< celticminstrel> And of course the required [filter]. 20181128 01:02:50< hk238> I was looking at the options from wesnoth wiki but couldn't find a nice way, so I think I looked at the possible tags of modify unit 20181128 01:03:03< hk238> okay so that's how it is 20181128 01:03:13< hk238> well it should provide the method I was looking for then in a clean way 20181128 01:04:30< celticminstrel> You probably need to pay attention to the merge mode though. 20181128 01:06:22< hk238> merge mode? :o 20181128 01:07:17< hk238> okay I found that from wiki 20181128 01:32:03< hk238> https://pastebin.com/fR85cx8f 20181128 01:32:06< hk238> does this seem correct? 20181128 01:32:42< celticminstrel> Yup. IIRC the default merge mode means that that won't touch variables that aren't explicitly mentioned. 20181128 01:33:29< celticminstrel> Those look like they could be intended to be boolean variables... 20181128 01:33:38< hk238> okay that's great.. I can use this to create this framework for abilities. So one special can set a variable like 'drainblock' to 1, and then I can use this pre-existing list of variables, as a way to create meta-abilities. 20181128 01:33:43< hk238> Yeah these are supposed to be boolean 20181128 01:33:53< celticminstrel> Then you should use yes/no instead of 1/0. 20181128 01:33:55< hk238> so for an example drainblock disables drain 20181128 01:34:08< celticminstrel> Also, if they're boolean, you can put them in [status] instead of [variables] which is better if you need to filter on them. 20181128 01:34:10< hk238> yeah that's true, but this way I can also include levels if necessary 20181128 01:34:15< celticminstrel> True. 20181128 01:34:39< celticminstrel> Just something to consider. 20181128 01:35:03< hk238> so I was thinkin for an example if a unit is silenced, they cant use abilities which require vocalization.. aurablock blocks auras affecting adjacent units etc. Yeah good to know 20181128 01:36:32< hk238> although for now the abilities will be basically attacks, affect adjacent, etc type abilities. Although I could also use the attacks to as an ability menu, like 'no counterattack' and use some kind of event to end combat, and could set it a type like 'spell' or similar 20181128 01:36:55< celticminstrel> Blocking auras sounds insanely difficult. 20181128 01:37:03< hk238> huh? 20181128 01:37:07< celticminstrel> I think blocking drain is easy. 20181128 01:37:17< celticminstrel> IIRC there's a special status for it. 20181128 01:37:19< hk238> I just include in the aura's a condition 20181128 01:37:35< hk238> like for an example let's see 20181128 01:37:36< celticminstrel> Oh, if you want to affect only auras from your addon, then sure. 20181128 01:37:53< hk238> yeah so far these vampire units don't seem very compatible with default, or they might be 20181128 01:39:15< hk238> I'm not sure how to organize these abilities. Also these boolean variables are hard to toggle in a way that's consistent. Like let's say I have a unit with 'antimagic aura' which disables attacks which are magical. I'm not sure how to write a code that toggles the variable for only as long as the unit is adjacent. Probably not going to do that specific style of blocking things, more like.. 20181128 01:39:46< hk238> Rogue illusionist might have some ability that disables leadership or something like that 20181128 01:51:38< celticminstrel> That's the kind of thing that would be tricky - disabling leadership. 20181128 02:41:40<+wesdiscordbot> @Virnrohiik If you like survivals, I have a set of zombie survival scenarios on the add-ons server you might like 😃 20181128 02:42:09<+wesdiscordbot> Hmm, I might have played them! Unless they’re super recent 20181128 02:42:28<+wesdiscordbot> They were up on 1.13 for a long while, but I only put them up on 1.14 recently 20181128 02:42:32<+wesdiscordbot> Like a week ago 20181128 02:43:10<+wesdiscordbot> There's "Zombie Survival Scenarios", that has a custom 1, 2, 3 & 4 player scenario, and "Last Stand at Gaer Derole" which is the same scenario but has four versions, one for each # of players you can have. 20181128 02:43:29<+wesdiscordbot> I personally like the second more b/c I managed to integrate a shop into it, and it feels more epic lol 20181128 04:40:34-!- celticminstrel is now known as celmin|sleep 20181128 08:46:55-!- vn971 [~vasilii@office.zivver.org] has joined #wesnoth-umc-dev 20181128 09:15:26<+wesdiscordbot> Ah I might not have played them then, since I only play mobile, and that was stuck on 1.12 forever 20181128 09:26:26< vn971> @Virnrohiik I missed part of the discussion, but if anything, wesnoth is avaliable on Android now, version 1.14.something 20181128 09:27:06<+wesdiscordbot> Ye I know? 20181128 09:27:12<+wesdiscordbot> I play on iPad 20181128 09:27:47< vn971> ah, ok, nvm then. Wrote just in case. 20181128 09:28:31<+wesdiscordbot> Understand now, was just confused! 20181128 09:29:11<+wesdiscordbot> Also to be fair you missed it cause he said that a 942pm and I said that at 429 am 20181128 09:59:50-!- hk238 [~kvirc@unaffiliated/hk238] has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/] 20181128 12:56:58-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20181128 13:58:01-!- celmin|sleep is now known as celmin|away 20181128 15:57:14-!- vn971 [~vasilii@office.zivver.org] has quit [Quit: Leaving.] 20181128 21:24:58-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 250 seconds] --- Log closed Thu Nov 29 00:00:20 2018