This bonus to attack should be active only in battles, not in hero screen. Check your units attack in day before battle and then in battle, it should be +1. And it doesnt increase defense, but +1 attack evening/day/morning . +1 initiative to 1 and 2 lvl units in day , and +3 attack during day.
Code:
fight {
{
filter {
belligerent=ally
daytime=evening,day,morning
}
pbonus=attack,1,0,0,-100,0,0
dbonus=
rbonus=
attack_on=
attack_off=
}
{
filter {
belligerent=ally
daytime=day
level=1,2
}
pbonus=initiative,1,0,0,-100,0,0
dbonus=
rbonus=
attack_on=
attack_off=
}
{
filter {
belligerent=ally
daytime=day
}
pbonus=attack,3,0,0,-100,0,0
dbonus=
rbonus=
attack_on=
attack_off=
}
}
mods {
leadership=count,80
}