mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-27 21:49:10 +02:00
Added new version of witch hut config
This commit is contained in:
parent
a3b2354481
commit
c0a31b716a
69
config/objects/rewardableGeneric.json
Normal file
69
config/objects/rewardableGeneric.json
Normal file
@ -0,0 +1,69 @@
|
||||
{
|
||||
"witchHut" : {
|
||||
"index" :113,
|
||||
"handler" : "configurable",
|
||||
"base" : {
|
||||
"sounds" : {
|
||||
"visit" : ["GAZEBO"]
|
||||
}
|
||||
},
|
||||
"types" : {
|
||||
"witchHut" : {
|
||||
"index" : 0,
|
||||
"aiValue" : 1500,
|
||||
"rmg" : {
|
||||
"zoneLimit" : 3,
|
||||
"value" : 1500,
|
||||
"rarity" : 80
|
||||
},
|
||||
"compatibilityIdentifiers" : [ "object" ],
|
||||
|
||||
"visitMode" : "limiter",
|
||||
|
||||
"variables" : {
|
||||
"secondarySkill" : {
|
||||
"gainedSkill" : { // Note: this variable name is used by engine for H3M loading and by AI
|
||||
"noneOf" : [
|
||||
"leadership",
|
||||
"necromancy"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"visitLimiter" : {
|
||||
"secondary" : {
|
||||
"@gainedSkill" : 1
|
||||
}
|
||||
},
|
||||
"rewards" : [
|
||||
{
|
||||
"limiter" : {
|
||||
"canLearnSkills" : true,
|
||||
"noneOf" : [
|
||||
{
|
||||
"secondary" : {
|
||||
"@gainedSkill" : 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"secondary" : {
|
||||
"@gainedSkill" : 1
|
||||
}
|
||||
"message" : 171 // Witch teaches you skill
|
||||
}
|
||||
],
|
||||
"onVisited" : [
|
||||
{
|
||||
"message" : 172 // You already known this skill
|
||||
}
|
||||
],
|
||||
"onEmpty" : [
|
||||
{
|
||||
"message" : 173 // You know too much (no free slots)
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user