# Assasin constantly recasting bladeshield

**URL:** https://blizzhackers.discourse.group/t/assasin-constantly-recasting-bladeshield/506
**Category:** Support
**Created:** [January 1, 2020, 10:42pm UTC](https://blizzhackers.discourse.group/t/assasin-constantly-recasting-bladeshield/506 "2020-01-01T22:42:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![albertog](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@albertog](https://blizzhackers.discourse.group/u/albertog)
#### Post date: [January 1, 2020, 10:42pm UTC](https://blizzhackers.discourse.group/t/assasin-constantly-recasting-bladeshield/506/1 "2020-01-01T22:42:38Z")

</div>

hi im using the bot for assassin char in private server now, the bot is constatly cast bladeshield every time, I would like to know if there are a line that I can add in precast.js to cast bladeshield once after every 200 seconds?

```javascript
		case 6: // Assassin
			if (Config.UseFade && (!me.getState(159) || force)) {
				Skill.cast(267, 0); // Fade
			}

			if (Config.UseVenom && (!me.getState(31) || force)) {
				Skill.cast(278, 0); // Venom
			}

			if (!me.getState(158) || force) {
				Skill.cast(277, 0); // Blade Shield	
			}

			if (!Config.UseFade && Config.UseBoS && (!me.getState(157) || force)) {
				Skill.cast(258, 0); // Burst of Speed
			}

```

---

<div class="post-metadata">

### Author: ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)
#### Post date: [January 3, 2020, 5:06pm UTC](https://blizzhackers.discourse.group/t/assasin-constantly-recasting-bladeshield/506/2 "2020-01-03T17:06:26Z")

</div>

> [@albertog](#):
>
> (!me.getState(158)

maybe this state isn’t well read on that d2 server.  
try to remove that, and see what is happening.  
those lines should be

```javascript
			if (force) {
				Skill.cast(277, 0); // Blade Shield	
			}

```
